#864BD2#864BD2

#864BD2 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.1% C 0.199 H 300.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#864BD2
RGBrgb(134, 75, 210)
HSLhsl(266, 60%, 56%)
HSVhsv(266, 64%, 82%)
CMYKcmyk(36.2%, 64.3%, 0%, 17.6%)
CIE-LABlab(45.29, 51.73, -60.57)
CIE-LCHlch(45.29, 79.66, 310.50°)
OKLaboklab(55.09% 0.0994 -0.1723)
OKLCHoklch(55.09% 0.199 300)
XYZxyz(23.9776, 14.7534, 62.5447)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864BD2 #97D24B
analogous
#4B53D2 #864BD2 #C94BD2
triadic
#864BD2 #D2864B #4BD286
tetradic
#864BD2 #D24B53 #97D24B #4BD2C9
square
#864BD2 #D24B53 #97D24B #4BD2C9
split-complementary
#864BD2 #D2C94B #53D24B
monochromatic
#4B2182 #672DB3 #864BD2 #A77CDE #C8ADEA

Accessibility & contrast

On white

5.32
#864BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#864BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864BD2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864BD2#FFFFFF#000000##FFFFFF
##864BD21.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#046ACF
Tritanopia (blue-blind)
#756988
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #864bd2;
/* rgb */ color: rgb(134, 75, 210);
/* oklch */ color: oklch(55.1% 0.199 300.0);
Tailwind
colors: {
  custom: {
    50: '#ae81e1',
    500: '#864bd2',
    950: '#000000',
  },
}
SCSS
$custom: #864bd2;
$custom-light: #ae81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#864bd2",
  "rgb": {
    "r": 134,
    "g": 75,
    "b": 210
  },
  "hsl": {
    "h": 266.222,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55086,
    "c": 0.19893,
    "h": 300
  },
  "luminance": 0.14754
}

Semantic roles & 50–950 ramp

primary
#864BD2
secondary
#C0D8A0
accent
#E3459E
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #864BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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