#864CD9#864CD9

#864CD9 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.7% C 0.206 H 298.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#864CD9
RGBrgb(134, 76, 217)
HSLhsl(265, 65%, 57%)
HSVhsv(265, 65%, 85%)
CMYKcmyk(38.2%, 65%, 0%, 14.9%)
CIE-LABlab(45.97, 52.98, -63.49)
CIE-LCHlch(45.97, 82.69, 309.84°)
OKLaboklab(55.73% 0.0976 -0.1809)
OKLCHoklch(55.73% 0.206 298.3)
XYZxyz(24.9372, 15.2466, 67.2613)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864CD9 #9FD94C
analogous
#4C58D9 #864CD9 #CD4CD9
triadic
#864CD9 #D9864C #4CD986
tetradic
#864CD9 #D94C58 #9FD94C #4CD9CD
square
#864CD9 #D94C58 #9FD94C #4CD9CD
split-complementary
#864CD9 #D9CD4C #58D94C
monochromatic
#4B1E8D #6729BF #864CD9 #A87EE4 #CAB1EE

Accessibility & contrast

On white

5.19
#864CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#864CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864CD9
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864CD9#FFFFFF#000000##FFFFFF
##864CD91.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#006BD6
Tritanopia (blue-blind)
#726C8C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #864cd9;
/* rgb */ color: rgb(134, 76, 217);
/* oklch */ color: oklch(55.7% 0.206 298.3);
Tailwind
colors: {
  custom: {
    50: '#af81e6',
    500: '#864cd9',
    950: '#000000',
  },
}
SCSS
$custom: #864cd9;
$custom-light: #af81e6;
$custom-dark: #000000;
JSON
{
  "hex": "#864cd9",
  "rgb": {
    "r": 134,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 264.681,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55728,
    "c": 0.20554,
    "h": 298.3
  },
  "luminance": 0.15247
}

Semantic roles & 50–950 ramp

primary
#864CD9
secondary
#C5DDA4
accent
#E840A3
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #864CD9

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

Preview Lab → · Contrast checker → · Palette generator →

#864CD9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva