#864DDC#864DDC

#864DDC is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.1% C 0.208 H 297.6°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#864DDC
RGBrgb(134, 77, 220)
HSLhsl(264, 67%, 58%)
HSVhsv(264, 65%, 86%)
CMYKcmyk(39.1%, 65%, 0%, 13.7%)
CIE-LABlab(46.37, 53.23, -64.55)
CIE-LCHlch(46.37, 83.67, 309.51°)
OKLaboklab(56.08% 0.0962 -0.184)
OKLCHoklch(56.08% 0.208 297.6)
XYZxyz(25.4004, 15.5430, 69.3581)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864DDC #A3DC4D
analogous
#4D5BDC #864DDC #CD4DDC
triadic
#864DDC #DC864D #4DDC86
tetradic
#864DDC #DC4D5B #A3DC4D #4DDCCD
square
#864DDC #DC4D5B #A3DC4D #4DDCCD
split-complementary
#864DDC #DCCD4D #5BDC4D
monochromatic
#4B1D92 #6627C5 #864DDC #A980E6 #CCB3F0

Accessibility & contrast

On white

5.11
#864DDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#864DDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864DDC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864DDC#FFFFFF#000000##FFFFFF
##864DDC1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#716E8E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #864ddc;
/* rgb */ color: rgb(134, 77, 220);
/* oklch */ color: oklch(56.1% 0.208 297.6);
Tailwind
colors: {
  custom: {
    50: '#af82e8',
    500: '#864ddc',
    950: '#000000',
  },
}
SCSS
$custom: #864ddc;
$custom-light: #af82e8;
$custom-dark: #000000;
JSON
{
  "hex": "#864ddc",
  "rgb": {
    "r": 134,
    "g": 77,
    "b": 220
  },
  "hsl": {
    "h": 263.916,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56082,
    "c": 0.20766,
    "h": 297.6
  },
  "luminance": 0.15543
}

Semantic roles & 50–950 ramp

primary
#864DDC
secondary
#C8DFA6
accent
#EA3EA5
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #864DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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