#864BD3#864BD3

#864BD3 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.2% C 0.200 H 299.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#864BD3
RGBrgb(134, 75, 211)
HSLhsl(266, 61%, 56%)
HSVhsv(266, 64%, 83%)
CMYKcmyk(36.5%, 64.5%, 0%, 17.3%)
CIE-LABlab(45.36, 51.98, -61.04)
CIE-LCHlch(45.36, 80.17, 310.42°)
OKLaboklab(55.16% 0.0993 -0.1737)
OKLCHoklch(55.16% 0.2 299.8)
XYZxyz(24.1026, 14.8034, 63.2029)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864BD3 #98D34B
analogous
#4B54D3 #864BD3 #CA4BD3
triadic
#864BD3 #D3864B #4BD386
tetradic
#864BD3 #D34B54 #98D34B #4BD3CA
square
#864BD3 #D34B54 #98D34B #4BD3CA
split-complementary
#864BD3 #D3CA4B #54D34B
monochromatic
#4B2083 #672CB5 #864BD3 #A77CDF #C8ADEB

Accessibility & contrast

On white

5.30
#864BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#864BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864BD3
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864BD3#FFFFFF#000000##FFFFFF
##864BD31.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD7
Deuteranopia (green-blind)
#006AD0
Tritanopia (blue-blind)
#756A88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #864bd3;
/* rgb */ color: rgb(134, 75, 211);
/* oklch */ color: oklch(55.2% 0.200 299.8);
Tailwind
colors: {
  custom: {
    50: '#ae81e1',
    500: '#864bd3',
    950: '#000000',
  },
}
SCSS
$custom: #864bd3;
$custom-light: #ae81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#864bd3",
  "rgb": {
    "r": 134,
    "g": 75,
    "b": 211
  },
  "hsl": {
    "h": 266.029,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55158,
    "c": 0.20006,
    "h": 299.8
  },
  "luminance": 0.14804
}

Semantic roles & 50–950 ramp

primary
#864BD3
secondary
#C1D9A1
accent
#E4449E
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #864BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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