#862DC9#862DC9

#862DC9 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 51.0% C 0.224 H 305.4°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#862DC9
RGBrgb(134, 45, 201)
HSLhsl(274, 63%, 48%)
HSVhsv(274, 78%, 79%)
CMYKcmyk(33.3%, 77.6%, 0%, 21.2%)
CIE-LABlab(39.85, 63.01, -64.21)
CIE-LCHlch(39.85, 89.96, 314.46°)
OKLaboklab(51.01% 0.1301 -0.1829)
OKLCHoklch(51.01% 0.224 305.4)
XYZxyz(21.3101, 11.1623, 56.2789)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862DC9 #70C92D
analogous
#382DC9 #862DC9 #C92DBE
triadic
#862DC9 #C9862D #2DC986
tetradic
#862DC9 #C9382D #70C92D #2DBEC9
square
#862DC9 #C9382D #70C92D #2DBEC9
split-complementary
#862DC9 #BEC92D #2DC938
monochromatic
#431765 #652297 #862DC9 #A359DA #BF8BE5

Accessibility & contrast

On white

6.50
#862DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#862DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862DC9
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862DC9#FFFFFF#000000##FFFFFF
##862DC91.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCD
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#79557B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #862dc9;
/* rgb */ color: rgb(134, 45, 201);
/* oklch */ color: oklch(51.0% 0.224 305.4);
Tailwind
colors: {
  custom: {
    50: '#af70da',
    500: '#862dc9',
    950: '#000000',
  },
}
SCSS
$custom: #862dc9;
$custom-light: #af70da;
$custom-dark: #000000;
JSON
{
  "hex": "#862dc9",
  "rgb": {
    "r": 134,
    "g": 45,
    "b": 201
  },
  "hsl": {
    "h": 274.231,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51008,
    "c": 0.22444,
    "h": 305.4
  },
  "luminance": 0.11162
}

Semantic roles & 50–950 ramp

primary
#862DC9
secondary
#A4CF83
accent
#E64188
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #862DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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