#864DCB#864DCB

#864DCB is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.9% C 0.188 H 301.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#864DCB
RGBrgb(134, 77, 203)
HSLhsl(267, 55%, 55%)
HSVhsv(267, 62%, 80%)
CMYKcmyk(34%, 62.1%, 0%, 20.4%)
CIE-LABlab(45.20, 48.95, -56.69)
CIE-LCHlch(45.20, 74.90, 310.81°)
OKLaboklab(54.87% 0.0976 -0.1609)
OKLCHoklch(54.87% 0.188 301.2)
XYZxyz(23.2623, 14.6878, 58.0978)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864DCB #92CB4D
analogous
#4D53CB #864DCB #C54DCB
triadic
#864DCB #CB864D #4DCB86
tetradic
#864DCB #CB4D53 #92CB4D #4DCBC5
square
#864DCB #CB4D53 #92CB4D #4DCBC5
split-complementary
#864DCB #CBC54D #53CB4D
monochromatic
#4B247A #6831A9 #864DCB #A67CD9 #C6ACE7

Accessibility & contrast

On white

5.33
#864DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#864DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864DCB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864DCB#FFFFFF#000000##FFFFFF
##864DCB1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#216AC8
Tritanopia (blue-blind)
#786885
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #864dcb;
/* rgb */ color: rgb(134, 77, 203);
/* oklch */ color: oklch(54.9% 0.188 301.2);
Tailwind
colors: {
  custom: {
    50: '#ae82dc',
    500: '#864dcb',
    950: '#000000',
  },
}
SCSS
$custom: #864dcb;
$custom-light: #ae82dc;
$custom-dark: #000000;
JSON
{
  "hex": "#864dcb",
  "rgb": {
    "r": 134,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 267.143,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5487,
    "c": 0.18822,
    "h": 301.2
  },
  "luminance": 0.14688
}

Semantic roles & 50–950 ramp

primary
#864DCB
secondary
#BCD49F
accent
#DE4A9B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #864DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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