#864BD4#864BD4

#864BD4 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.2% C 0.201 H 299.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#864BD4
RGBrgb(134, 75, 212)
HSLhsl(266, 61%, 56%)
HSVhsv(266, 65%, 83%)
CMYKcmyk(36.8%, 64.6%, 0%, 16.9%)
CIE-LABlab(45.43, 52.23, -61.50)
CIE-LCHlch(45.43, 80.68, 310.34°)
OKLaboklab(55.23% 0.0992 -0.175)
OKLCHoklch(55.23% 0.201 299.5)
XYZxyz(24.2283, 14.8537, 63.8652)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864BD4 #99D44B
analogous
#4B55D4 #864BD4 #CA4BD4
triadic
#864BD4 #D4864B #4BD486
tetradic
#864BD4 #D44B55 #99D44B #4BD4CA
square
#864BD4 #D44B55 #99D44B #4BD4CA
split-complementary
#864BD4 #D4CA4B #55D44B
monochromatic
#4B2085 #672CB6 #864BD4 #A77CE0 #C8AEEC

Accessibility & contrast

On white

5.29
#864BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#864BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864BD4
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864BD4#FFFFFF#000000##FFFFFF
##864BD41.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD8
Deuteranopia (green-blind)
#006AD1
Tritanopia (blue-blind)
#746A89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #864bd4;
/* rgb */ color: rgb(134, 75, 212);
/* oklch */ color: oklch(55.2% 0.201 299.5);
Tailwind
colors: {
  custom: {
    50: '#af81e2',
    500: '#864bd4',
    950: '#000000',
  },
}
SCSS
$custom: #864bd4;
$custom-light: #af81e2;
$custom-dark: #000000;
JSON
{
  "hex": "#864bd4",
  "rgb": {
    "r": 134,
    "g": 75,
    "b": 212
  },
  "hsl": {
    "h": 265.839,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5523,
    "c": 0.2012,
    "h": 299.5
  },
  "luminance": 0.14854
}

Semantic roles & 50–950 ramp

primary
#864BD4
secondary
#C1DAA1
accent
#E5439F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #864BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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