#864FD4#864FD4

#864FD4 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.8% C 0.196 H 298.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#864FD4
RGBrgb(134, 79, 212)
HSLhsl(265, 61%, 57%)
HSVhsv(265, 63%, 83%)
CMYKcmyk(36.8%, 62.7%, 0%, 16.9%)
CIE-LABlab(46.20, 50.16, -60.26)
CIE-LCHlch(46.20, 78.41, 309.77°)
OKLaboklab(55.78% 0.0947 -0.1714)
OKLCHoklch(55.78% 0.196 298.9)
XYZxyz(24.5082, 15.4135, 63.9585)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864FD4 #9DD44F
analogous
#4F5BD4 #864FD4 #C94FD4
triadic
#864FD4 #D4864F #4FD486
tetradic
#864FD4 #D44F5B #9DD44F #4FD4C9
square
#864FD4 #D44F5B #9DD44F #4FD4C9
split-complementary
#864FD4 #D4C94F #5BD44F
monochromatic
#4B2187 #672DB9 #864FD4 #A880E0 #CAB1EC

Accessibility & contrast

On white

5.14
#864FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#864FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864FD4
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864FD4#FFFFFF#000000##FFFFFF
##864FD41.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD8
Deuteranopia (green-blind)
#0F6CD1
Tritanopia (blue-blind)
#746C8A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #864fd4;
/* rgb */ color: rgb(134, 79, 212);
/* oklch */ color: oklch(55.8% 0.196 298.9);
Tailwind
colors: {
  custom: {
    50: '#ae83e2',
    500: '#864fd4',
    950: '#000000',
  },
}
SCSS
$custom: #864fd4;
$custom-light: #ae83e2;
$custom-dark: #000000;
JSON
{
  "hex": "#864fd4",
  "rgb": {
    "r": 134,
    "g": 79,
    "b": 212
  },
  "hsl": {
    "h": 264.812,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55781,
    "c": 0.19587,
    "h": 298.9
  },
  "luminance": 0.15414
}

Semantic roles & 50–950 ramp

primary
#864FD4
secondary
#C4DAA4
accent
#E444A2
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #864FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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