#864ED1#864ED1

#864ED1 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.4% C 0.194 H 299.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#864ED1
RGBrgb(134, 78, 209)
HSLhsl(266, 59%, 56%)
HSVhsv(266, 63%, 82%)
CMYKcmyk(35.9%, 62.7%, 0%, 18%)
CIE-LABlab(45.80, 49.93, -59.19)
CIE-LCHlch(45.80, 77.43, 310.15°)
OKLaboklab(55.43% 0.0961 -0.1683)
OKLCHoklch(55.43% 0.194 299.7)
XYZxyz(24.0617, 15.1203, 61.9601)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864ED1 #99D14E
analogous
#4E58D1 #864ED1 #C84ED1
triadic
#864ED1 #D1864E #4ED186
tetradic
#864ED1 #D14E58 #99D14E #4ED1C8
square
#864ED1 #D14E58 #99D14E #4ED1C8
split-complementary
#864ED1 #D1C84E #58D14E
monochromatic
#4B2283 #672FB3 #864ED1 #A77FDE #C8AFEA

Accessibility & contrast

On white

5.22
#864ED1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#864ED1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864ED1
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864ED1#FFFFFF#000000##FFFFFF
##864ED11.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD5
Deuteranopia (green-blind)
#166BCE
Tritanopia (blue-blind)
#756B88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #864ed1;
/* rgb */ color: rgb(134, 78, 209);
/* oklch */ color: oklch(55.4% 0.194 299.7);
Tailwind
colors: {
  custom: {
    50: '#ae82e0',
    500: '#864ed1',
    950: '#000000',
  },
}
SCSS
$custom: #864ed1;
$custom-light: #ae82e0;
$custom-dark: #000000;
JSON
{
  "hex": "#864ed1",
  "rgb": {
    "r": 134,
    "g": 78,
    "b": 209
  },
  "hsl": {
    "h": 265.649,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55429,
    "c": 0.19376,
    "h": 299.7
  },
  "luminance": 0.15121
}

Semantic roles & 50–950 ramp

primary
#864ED1
secondary
#C1D8A2
accent
#E2469F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #864ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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