#864DC4#864DC4

#864DC4 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.4% C 0.180 H 302.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#864DC4
RGBrgb(134, 77, 196)
HSLhsl(269, 50%, 54%)
HSVhsv(269, 61%, 77%)
CMYKcmyk(31.6%, 60.7%, 0%, 23.1%)
CIE-LABlab(44.75, 47.22, -53.38)
CIE-LCHlch(44.75, 71.27, 311.49°)
OKLaboklab(54.39% 0.0979 -0.1512)
OKLCHoklch(54.39% 0.18 302.9)
XYZxyz(22.4469, 14.3616, 53.8034)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864DC4 #8BC44D
analogous
#4D4FC4 #864DC4 #C14DC4
triadic
#864DC4 #C4864D #4DC486
tetradic
#864DC4 #C44D4F #8BC44D #4DC4C1
square
#864DC4 #C44D4F #8BC44D #4DC4C1
split-complementary
#864DC4 #C4C14D #4FC44D
monochromatic
#4A2571 #68359F #864DC4 #A57BD3 #C4A9E2

Accessibility & contrast

On white

5.42
#864DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#864DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864DC4
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864DC4#FFFFFF#000000##FFFFFF
##864DC41.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0469C8
Deuteranopia (green-blind)
#2C6AC1
Tritanopia (blue-blind)
#7A6681
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #864dc4;
/* rgb */ color: rgb(134, 77, 196);
/* oklch */ color: oklch(54.4% 0.180 302.9);
Tailwind
colors: {
  custom: {
    50: '#ad82d6',
    500: '#864dc4',
    950: '#000000',
  },
}
SCSS
$custom: #864dc4;
$custom-light: #ad82d6;
$custom-dark: #000000;
JSON
{
  "hex": "#864dc4",
  "rgb": {
    "r": 134,
    "g": 77,
    "b": 196
  },
  "hsl": {
    "h": 268.739,
    "s": 50.211,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54393,
    "c": 0.18014,
    "h": 302.9
  },
  "luminance": 0.14362
}

Semantic roles & 50–950 ramp

primary
#864DC4
secondary
#B7D09D
accent
#DA4E97
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #864DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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