#864CD1#864CD1

#864CD1 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.2% C 0.196 H 300.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#864CD1
RGBrgb(134, 76, 209)
HSLhsl(266, 59%, 56%)
HSVhsv(266, 64%, 82%)
CMYKcmyk(35.9%, 63.6%, 0%, 18%)
CIE-LABlab(45.41, 50.97, -59.81)
CIE-LCHlch(45.41, 78.58, 310.44°)
OKLaboklab(55.15% 0.0984 -0.1701)
OKLCHoklch(55.15% 0.196 300)
XYZxyz(23.9218, 14.8405, 61.9134)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864CD1 #97D14C
analogous
#4C54D1 #864CD1 #C84CD1
triadic
#864CD1 #D1864C #4CD186
tetradic
#864CD1 #D14C54 #97D14C #4CD1C8
square
#864CD1 #D14C54 #97D14C #4CD1C8
split-complementary
#864CD1 #D1C84C #54D14C
monochromatic
#4B2181 #672EB2 #864CD1 #A77DDE #C8ADEA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##864CD1#FFFFFF#000000##FFFFFF
##864CD11.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)
#006BD5
Deuteranopia (green-blind)
#0E6BCE
Tritanopia (blue-blind)
#766988
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #864cd1;
/* rgb */ color: rgb(134, 76, 209);
/* oklch */ color: oklch(55.2% 0.196 300.0);
Tailwind
colors: {
  custom: {
    50: '#ae81e0',
    500: '#864cd1',
    950: '#000000',
  },
}
SCSS
$custom: #864cd1;
$custom-light: #ae81e0;
$custom-dark: #000000;
JSON
{
  "hex": "#864cd1",
  "rgb": {
    "r": 134,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 266.165,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55151,
    "c": 0.19647,
    "h": 300
  },
  "luminance": 0.14841
}

Semantic roles & 50–950 ramp

primary
#864CD1
secondary
#C0D8A1
accent
#E2469E
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #864CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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