#864ED2#864ED2

#864ED2 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.5% C 0.195 H 299.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#864ED2
RGBrgb(134, 78, 210)
HSLhsl(265, 59%, 56%)
HSVhsv(265, 63%, 82%)
CMYKcmyk(36.2%, 62.9%, 0%, 17.6%)
CIE-LABlab(45.87, 50.18, -59.65)
CIE-LCHlch(45.87, 77.95, 310.07°)
OKLaboklab(55.5% 0.096 -0.1696)
OKLCHoklch(55.5% 0.195 299.5)
XYZxyz(24.1859, 15.1700, 62.6142)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864ED2 #9AD24E
analogous
#4E58D2 #864ED2 #C84ED2
triadic
#864ED2 #D2864E #4ED286
tetradic
#864ED2 #D24E58 #9AD24E #4ED2C8
square
#864ED2 #D24E58 #9AD24E #4ED2C8
split-complementary
#864ED2 #D2C84E #58D24E
monochromatic
#4B2284 #672EB5 #864ED2 #A77FDE #C9B0EB

Accessibility & contrast

On white

5.21
#864ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#864ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864ED2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864ED2#FFFFFF#000000##FFFFFF
##864ED21.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#126CCF
Tritanopia (blue-blind)
#756B89
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #864ed2;
/* rgb */ color: rgb(134, 78, 210);
/* oklch */ color: oklch(55.5% 0.195 299.5);
Tailwind
colors: {
  custom: {
    50: '#ae82e1',
    500: '#864ed2',
    950: '#000000',
  },
}
SCSS
$custom: #864ed2;
$custom-light: #ae82e1;
$custom-dark: #000000;
JSON
{
  "hex": "#864ed2",
  "rgb": {
    "r": 134,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 265.455,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55499,
    "c": 0.19491,
    "h": 299.5
  },
  "luminance": 0.1517
}

Semantic roles & 50–950 ramp

primary
#864ED2
secondary
#C2D9A3
accent
#E345A0
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #864ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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