#864CD8#864CD8

#864CD8 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.7% C 0.204 H 298.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#864CD8
RGBrgb(134, 76, 216)
HSLhsl(265, 64%, 57%)
HSVhsv(265, 65%, 85%)
CMYKcmyk(38%, 64.8%, 0%, 15.3%)
CIE-LABlab(45.90, 52.73, -63.03)
CIE-LCHlch(45.90, 82.18, 309.91°)
OKLaboklab(55.66% 0.0977 -0.1796)
OKLCHoklch(55.66% 0.204 298.6)
XYZxyz(24.8075, 15.1948, 66.5783)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864CD8 #9ED84C
analogous
#4C58D8 #864CD8 #CC4CD8
triadic
#864CD8 #D8864C #4CD886
tetradic
#864CD8 #D84C58 #9ED84C #4CD8CC
square
#864CD8 #D84C58 #9ED84C #4CD8CC
split-complementary
#864CD8 #D8CC4C #58D84C
monochromatic
#4B1E8B #6729BE #864CD8 #A87EE3 #CAB1EE

Accessibility & contrast

On white

5.20
#864CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#864CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864CD8
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864CD8#FFFFFF#000000##FFFFFF
##864CD81.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#006BD5
Tritanopia (blue-blind)
#736C8B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #864cd8;
/* rgb */ color: rgb(134, 76, 216);
/* oklch */ color: oklch(55.7% 0.204 298.6);
Tailwind
colors: {
  custom: {
    50: '#af81e5',
    500: '#864cd8',
    950: '#000000',
  },
}
SCSS
$custom: #864cd8;
$custom-light: #af81e5;
$custom-dark: #000000;
JSON
{
  "hex": "#864cd8",
  "rgb": {
    "r": 134,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 264.857,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55655,
    "c": 0.20442,
    "h": 298.6
  },
  "luminance": 0.15195
}

Semantic roles & 50–950 ramp

primary
#864CD8
secondary
#C5DCA4
accent
#E741A2
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #864CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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