#864DB2#864DB2

#864DB2 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.2% C 0.159 H 307.9°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#864DB2
RGBrgb(134, 77, 178)
HSLhsl(274, 40%, 50%)
HSVhsv(274, 57%, 70%)
CMYKcmyk(24.7%, 56.7%, 0%, 30.2%)
CIE-LABlab(43.64, 42.88, -44.65)
CIE-LCHlch(43.64, 61.90, 313.84°)
OKLaboklab(53.23% 0.0979 -0.1256)
OKLCHoklch(53.23% 0.159 307.9)
XYZxyz(20.5197, 13.5907, 43.6531)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864DB2 #79B24D
analogous
#534DB2 #864DB2 #B24DAC
triadic
#864DB2 #B2864D #4DB286
tetradic
#864DB2 #B2534D #79B24D #4DACB2
square
#864DB2 #B2534D #79B24D #4DACB2
split-complementary
#864DB2 #ACB24D #4DB253
monochromatic
#46285D #663B87 #864DB2 #A378C4 #C0A2D7

Accessibility & contrast

On white

5.65
#864DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#864DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864DB2
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864DB2#FFFFFF#000000##FFFFFF
##864DB21.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A65B5
Deuteranopia (green-blind)
#3F68B0
Tritanopia (blue-blind)
#7F6078
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #864db2;
/* rgb */ color: rgb(134, 77, 178);
/* oklch */ color: oklch(53.2% 0.159 307.9);
Tailwind
colors: {
  custom: {
    50: '#ac81c9',
    500: '#864db2',
    950: '#000000',
  },
}
SCSS
$custom: #864db2;
$custom-light: #ac81c9;
$custom-dark: #000000;
JSON
{
  "hex": "#864db2",
  "rgb": {
    "r": 134,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 273.861,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.53228,
    "c": 0.15925,
    "h": 307.9
  },
  "luminance": 0.1359
}

Semantic roles & 50–950 ramp

primary
#864DB2
secondary
#AAC497
accent
#CF588C
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #864DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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