#864FD9#864FD9

#864FD9 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.1% C 0.202 H 297.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#864FD9
RGBrgb(134, 79, 217)
HSLhsl(264, 64%, 58%)
HSVhsv(264, 64%, 85%)
CMYKcmyk(38.2%, 63.6%, 0%, 14.9%)
CIE-LABlab(46.54, 51.43, -62.57)
CIE-LCHlch(46.54, 80.99, 309.42°)
OKLaboklab(56.14% 0.0943 -0.1782)
OKLCHoklch(56.14% 0.202 297.9)
XYZxyz(25.1487, 15.6697, 67.3318)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864FD9 #A2D94F
analogous
#4F5DD9 #864FD9 #CB4FD9
triadic
#864FD9 #D9864F #4FD986
tetradic
#864FD9 #D94F5D #A2D94F #4FD9CB
square
#864FD9 #D94F5D #A2D94F #4FD9CB
split-complementary
#864FD9 #D9CB4F #5DD94F
monochromatic
#4B1F8F #662AC1 #864FD9 #A981E4 #CBB4EF

Accessibility & contrast

On white

5.08
#864FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#864FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864FD9
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864FD9#FFFFFF#000000##FFFFFF
##864FD91.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#006DD6
Tritanopia (blue-blind)
#726E8D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #864fd9;
/* rgb */ color: rgb(134, 79, 217);
/* oklch */ color: oklch(56.1% 0.202 297.9);
Tailwind
colors: {
  custom: {
    50: '#af83e6',
    500: '#864fd9',
    950: '#000000',
  },
}
SCSS
$custom: #864fd9;
$custom-light: #af83e6;
$custom-dark: #000000;
JSON
{
  "hex": "#864fd9",
  "rgb": {
    "r": 134,
    "g": 79,
    "b": 217
  },
  "hsl": {
    "h": 263.913,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56137,
    "c": 0.20164,
    "h": 297.9
  },
  "luminance": 0.1567
}

Semantic roles & 50–950 ramp

primary
#864FD9
secondary
#C7DDA6
accent
#E740A5
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #864FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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