#864CDC#864CDC

#864CDC is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.9% C 0.209 H 297.7°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#864CDC
RGBrgb(134, 76, 220)
HSLhsl(264, 67%, 58%)
HSVhsv(264, 65%, 86%)
CMYKcmyk(39.1%, 65.5%, 0%, 13.7%)
CIE-LABlab(46.18, 53.74, -64.85)
CIE-LCHlch(46.18, 84.22, 309.64°)
OKLaboklab(55.95% 0.0973 -0.1849)
OKLCHoklch(55.95% 0.209 297.7)
XYZxyz(25.3309, 15.4041, 69.3350)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864CDC #A2DC4C
analogous
#4C5ADC #864CDC #CE4CDC
triadic
#864CDC #DC864C #4CDC86
tetradic
#864CDC #DC4C5A #A2DC4C #4CDCCE
square
#864CDC #DC4C5A #A2DC4C #4CDCCE
split-complementary
#864CDC #DCCE4C #5ADC4C
monochromatic
#4B1C91 #6626C4 #864CDC #A97FE6 #CBB2F0

Accessibility & contrast

On white

5.15
#864CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#864CDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864CDC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864CDC#FFFFFF#000000##FFFFFF
##864CDC1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #864cdc;
/* rgb */ color: rgb(134, 76, 220);
/* oklch */ color: oklch(55.9% 0.209 297.7);
Tailwind
colors: {
  custom: {
    50: '#af82e8',
    500: '#864cdc',
    950: '#000000',
  },
}
SCSS
$custom: #864cdc;
$custom-light: #af82e8;
$custom-dark: #000000;
JSON
{
  "hex": "#864cdc",
  "rgb": {
    "r": 134,
    "g": 76,
    "b": 220
  },
  "hsl": {
    "h": 264.167,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55948,
    "c": 0.20894,
    "h": 297.7
  },
  "luminance": 0.15405
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #864CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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