#864AD2#864AD2

#864AD2 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.0% C 0.200 H 300.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#864AD2
RGBrgb(134, 74, 210)
HSLhsl(266, 60%, 56%)
HSVhsv(266, 65%, 82%)
CMYKcmyk(36.2%, 64.8%, 0%, 17.6%)
CIE-LABlab(45.11, 52.24, -60.88)
CIE-LCHlch(45.11, 80.22, 310.63°)
OKLaboklab(54.95% 0.1005 -0.1732)
OKLCHoklch(54.95% 0.2 300.1)
XYZxyz(23.9103, 14.6188, 62.5223)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864AD2 #96D24A
analogous
#4A52D2 #864AD2 #CA4AD2
triadic
#864AD2 #D2864A #4AD286
tetradic
#864AD2 #D24A52 #96D24A #4AD2CA
square
#864AD2 #D24A52 #96D24A #4AD2CA
split-complementary
#864AD2 #D2CA4A #52D24A
monochromatic
#4B2081 #682CB2 #864AD2 #A77BDE #C8ACEA

Accessibility & contrast

On white

5.35
#864AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#864AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864AD2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864AD2#FFFFFF#000000##FFFFFF
##864AD21.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #864ad2;
/* rgb */ color: rgb(134, 74, 210);
/* oklch */ color: oklch(55.0% 0.200 300.1);
Tailwind
colors: {
  custom: {
    50: '#ae80e1',
    500: '#864ad2',
    950: '#000000',
  },
}
SCSS
$custom: #864ad2;
$custom-light: #ae80e1;
$custom-dark: #000000;
JSON
{
  "hex": "#864ad2",
  "rgb": {
    "r": 134,
    "g": 74,
    "b": 210
  },
  "hsl": {
    "h": 266.471,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54951,
    "c": 0.20025,
    "h": 300.1
  },
  "luminance": 0.14619
}

Semantic roles & 50–950 ramp

primary
#864AD2
secondary
#BFD8A0
accent
#E3449D
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #864AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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