#864CD4#864CD4

#864CD4 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.4% C 0.200 H 299.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#864CD4
RGBrgb(134, 76, 212)
HSLhsl(266, 61%, 56%)
HSVhsv(266, 64%, 83%)
CMYKcmyk(36.8%, 64.2%, 0%, 16.9%)
CIE-LABlab(45.62, 51.72, -61.19)
CIE-LCHlch(45.62, 80.12, 310.20°)
OKLaboklab(55.37% 0.0981 -0.1742)
OKLCHoklch(55.37% 0.2 299.4)
XYZxyz(24.2967, 14.9904, 63.8880)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864CD4 #9AD44C
analogous
#4C56D4 #864CD4 #CA4CD4
triadic
#864CD4 #D4864C #4CD486
tetradic
#864CD4 #D44C56 #9AD44C #4CD4CA
square
#864CD4 #D44C56 #9AD44C #4CD4CA
split-complementary
#864CD4 #D4CA4C #56D44C
monochromatic
#4B2086 #672CB7 #864CD4 #A77DE0 #C9AFEC

Accessibility & contrast

On white

5.25
#864CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#864CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864CD4
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864CD4#FFFFFF#000000##FFFFFF
##864CD41.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#006BD1
Tritanopia (blue-blind)
#746B89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #864cd4;
/* rgb */ color: rgb(134, 76, 212);
/* oklch */ color: oklch(55.4% 0.200 299.4);
Tailwind
colors: {
  custom: {
    50: '#af81e2',
    500: '#864cd4',
    950: '#000000',
  },
}
SCSS
$custom: #864cd4;
$custom-light: #af81e2;
$custom-dark: #000000;
JSON
{
  "hex": "#864cd4",
  "rgb": {
    "r": 134,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 265.588,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55366,
    "c": 0.19988,
    "h": 299.4
  },
  "luminance": 0.14991
}

Semantic roles & 50–950 ramp

primary
#864CD4
secondary
#C2DAA2
accent
#E443A0
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #864CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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