#864CDD#864CDD

#864CDD is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.0% C 0.210 H 297.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#864CDD
RGBrgb(134, 76, 221)
HSLhsl(264, 68%, 58%)
HSVhsv(264, 66%, 87%)
CMYKcmyk(39.4%, 65.6%, 0%, 13.3%)
CIE-LABlab(46.25, 53.99, -65.31)
CIE-LCHlch(46.25, 84.74, 309.58°)
OKLaboklab(56.02% 0.0972 -0.1862)
OKLCHoklch(56.02% 0.21 297.5)
XYZxyz(25.4638, 15.4573, 70.0346)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864CDD #A3DD4C
analogous
#4C5ADD #864CDD #CE4CDD
triadic
#864CDD #DD864C #4CDD86
tetradic
#864CDD #DD4C5A #A3DD4C #4CDDCE
square
#864CDD #DD4C5A #A3DD4C #4CDDCE
split-complementary
#864CDD #DDCE4C #5ADD4C
monochromatic
#4B1C93 #6626C6 #864CDD #A97FE7 #CCB3F1

Accessibility & contrast

On white

5.13
#864CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#864CDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864CDD
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864CDD#FFFFFF#000000##FFFFFF
##864CDD1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #864cdd;
/* rgb */ color: rgb(134, 76, 221);
/* oklch */ color: oklch(56.0% 0.210 297.5);
Tailwind
colors: {
  custom: {
    50: '#af82e8',
    500: '#864cdd',
    950: '#000000',
  },
}
SCSS
$custom: #864cdd;
$custom-light: #af82e8;
$custom-dark: #000000;
JSON
{
  "hex": "#864cdd",
  "rgb": {
    "r": 134,
    "g": 76,
    "b": 221
  },
  "hsl": {
    "h": 264,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56022,
    "c": 0.21006,
    "h": 297.5
  },
  "luminance": 0.15458
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #864CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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