#864ED8#864ED8

#864ED8 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 55.9% C 0.202 H 298.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#864ED8
RGBrgb(134, 78, 216)
HSLhsl(264, 64%, 58%)
HSVhsv(264, 64%, 85%)
CMYKcmyk(38%, 63.9%, 0%, 15.3%)
CIE-LABlab(46.28, 51.70, -62.42)
CIE-LCHlch(46.28, 81.05, 309.63°)
OKLaboklab(55.93% 0.0955 -0.1778)
OKLCHoklch(55.93% 0.202 298.3)
XYZxyz(24.9474, 15.4746, 66.6250)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864ED8 #A0D84E
analogous
#4E5BD8 #864ED8 #CB4ED8
triadic
#864ED8 #D8864E #4ED886
tetradic
#864ED8 #D84E5B #A0D84E #4ED8CB
square
#864ED8 #D84E5B #A0D84E #4ED8CB
split-complementary
#864ED8 #D8CB4E #5BD84E
monochromatic
#4B1F8D #662ABF #864ED8 #A880E3 #CBB2EE

Accessibility & contrast

On white

5.13
#864ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#864ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864ED8
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864ED8#FFFFFF#000000##FFFFFF
##864ED81.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDC
Deuteranopia (green-blind)
#006CD5
Tritanopia (blue-blind)
#736D8C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #864ed8;
/* rgb */ color: rgb(134, 78, 216);
/* oklch */ color: oklch(55.9% 0.202 298.3);
Tailwind
colors: {
  custom: {
    50: '#af83e5',
    500: '#864ed8',
    950: '#000000',
  },
}
SCSS
$custom: #864ed8;
$custom-light: #af83e5;
$custom-dark: #000000;
JSON
{
  "hex": "#864ed8",
  "rgb": {
    "r": 134,
    "g": 78,
    "b": 216
  },
  "hsl": {
    "h": 264.348,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55927,
    "c": 0.20181,
    "h": 298.3
  },
  "luminance": 0.15475
}

Semantic roles & 50–950 ramp

primary
#864ED8
secondary
#C6DDA5
accent
#E741A4
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #864ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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