#862CC9#862CC9

#862CC9 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.9% C 0.225 H 305.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#862CC9
RGBrgb(134, 44, 201)
HSLhsl(274, 64%, 48%)
HSVhsv(274, 78%, 79%)
CMYKcmyk(33.3%, 78.1%, 0%, 21.2%)
CIE-LABlab(39.73, 63.37, -64.41)
CIE-LCHlch(39.73, 90.36, 314.53°)
OKLaboklab(50.92% 0.1309 -0.1834)
OKLCHoklch(50.92% 0.225 305.5)
XYZxyz(21.2724, 11.0869, 56.2663)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862CC9 #6FC92C
analogous
#372CC9 #862CC9 #C92CBD
triadic
#862CC9 #C9862C #2CC986
tetradic
#862CC9 #C9372C #6FC92C #2CBDC9
square
#862CC9 #C9372C #6FC92C #2CBDC9
split-complementary
#862CC9 #BDC92C #2CC937
monochromatic
#431665 #652197 #862CC9 #A358DA #BE8AE5

Accessibility & contrast

On white

6.53
#862CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#862CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862CC9
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862CC9#FFFFFF#000000##FFFFFF
##862CC91.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCD
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#7A557A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #862cc9;
/* rgb */ color: rgb(134, 44, 201);
/* oklch */ color: oklch(50.9% 0.225 305.5);
Tailwind
colors: {
  custom: {
    50: '#af70da',
    500: '#862cc9',
    950: '#000000',
  },
}
SCSS
$custom: #862cc9;
$custom-light: #af70da;
$custom-dark: #000000;
JSON
{
  "hex": "#862cc9",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 201
  },
  "hsl": {
    "h": 274.395,
    "s": 64.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50919,
    "c": 0.22539,
    "h": 305.5
  },
  "luminance": 0.11087
}

Semantic roles & 50–950 ramp

primary
#862CC9
secondary
#A3CF82
accent
#E74188
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #862CC9

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#862CC9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva