#864AC8#864AC8

#864AC8 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.2% C 0.189 H 302.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#864AC8
RGBrgb(134, 74, 200)
HSLhsl(269, 53%, 54%)
HSVhsv(269, 63%, 78%)
CMYKcmyk(33%, 63%, 0%, 21.6%)
CIE-LABlab(44.43, 49.77, -56.21)
CIE-LCHlch(44.43, 75.08, 311.52°)
OKLaboklab(54.24% 0.1013 -0.1595)
OKLCHoklch(54.24% 0.189 302.4)
XYZxyz(22.7032, 14.1360, 56.1648)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864AC8 #8CC84A
analogous
#4A4DC8 #864AC8 #C54AC8
triadic
#864AC8 #C8864A #4AC886
tetradic
#864AC8 #C84A4D #8CC84A #4AC8C5
square
#864AC8 #C84A4D #8CC84A #4AC8C5
split-complementary
#864AC8 #C8C54A #4DC84A
monochromatic
#4A2374 #6832A3 #864AC8 #A579D6 #C5A8E5

Accessibility & contrast

On white

5.49
#864AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#864AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864AC8
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864AC8#FFFFFF#000000##FFFFFF
##864AC81.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#2169C5
Tritanopia (blue-blind)
#796582
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #864ac8;
/* rgb */ color: rgb(134, 74, 200);
/* oklch */ color: oklch(54.2% 0.189 302.4);
Tailwind
colors: {
  custom: {
    50: '#ae80d9',
    500: '#864ac8',
    950: '#000000',
  },
}
SCSS
$custom: #864ac8;
$custom-light: #ae80d9;
$custom-dark: #000000;
JSON
{
  "hex": "#864ac8",
  "rgb": {
    "r": 134,
    "g": 74,
    "b": 200
  },
  "hsl": {
    "h": 268.571,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54244,
    "c": 0.18895,
    "h": 302.4
  },
  "luminance": 0.14136
}

Semantic roles & 50–950 ramp

primary
#864AC8
secondary
#B8D29C
accent
#DD4B97
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #864AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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