#864FC4#864FC4

#864FC4 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.7% C 0.177 H 302.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#864FC4
RGBrgb(134, 79, 196)
HSLhsl(268, 50%, 54%)
HSVhsv(268, 60%, 77%)
CMYKcmyk(31.6%, 59.7%, 0%, 23.1%)
CIE-LABlab(45.15, 46.15, -52.74)
CIE-LCHlch(45.15, 70.08, 311.19°)
OKLaboklab(54.68% 0.0955 -0.1493)
OKLCHoklch(54.68% 0.177 302.6)
XYZxyz(22.5890, 14.6458, 53.8507)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864FC4 #8DC44F
analogous
#4F53C4 #864FC4 #C14FC4
triadic
#864FC4 #C4864F #4FC486
tetradic
#864FC4 #C44F53 #8DC44F #4FC4C1
square
#864FC4 #C44F53 #8DC44F #4FC4C1
split-complementary
#864FC4 #C4C14F #53C44F
monochromatic
#4A2672 #6836A0 #864FC4 #A67DD3 #C5ABE3

Accessibility & contrast

On white

5.34
#864FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#864FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864FC4
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864FC4#FFFFFF#000000##FFFFFF
##864FC41.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116AC8
Deuteranopia (green-blind)
#306AC1
Tritanopia (blue-blind)
#7A6782
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #864fc4;
/* rgb */ color: rgb(134, 79, 196);
/* oklch */ color: oklch(54.7% 0.177 302.6);
Tailwind
colors: {
  custom: {
    50: '#ad83d6',
    500: '#864fc4',
    950: '#000000',
  },
}
SCSS
$custom: #864fc4;
$custom-light: #ad83d6;
$custom-dark: #000000;
JSON
{
  "hex": "#864fc4",
  "rgb": {
    "r": 134,
    "g": 79,
    "b": 196
  },
  "hsl": {
    "h": 268.205,
    "s": 49.787,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54683,
    "c": 0.17725,
    "h": 302.6
  },
  "luminance": 0.14646
}

Semantic roles & 50–950 ramp

primary
#864FC4
secondary
#B9D09E
accent
#D94E98
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #864FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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