#864CD6#864CD6

#864CD6 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.5% C 0.202 H 299.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#864CD6
RGBrgb(134, 76, 214)
HSLhsl(265, 63%, 57%)
HSVhsv(265, 64%, 84%)
CMYKcmyk(37.4%, 64.5%, 0%, 16.1%)
CIE-LABlab(45.76, 52.22, -62.11)
CIE-LCHlch(45.76, 81.15, 310.05°)
OKLaboklab(55.51% 0.0979 -0.1769)
OKLCHoklch(55.51% 0.202 299)
XYZxyz(24.5505, 15.0920, 65.2249)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864CD6 #9CD64C
analogous
#4C57D6 #864CD6 #CB4CD6
triadic
#864CD6 #D6864C #4CD686
tetradic
#864CD6 #D64C57 #9CD64C #4CD6CB
square
#864CD6 #D64C57 #9CD64C #4CD6CB
split-complementary
#864CD6 #D6CB4C #57D64C
monochromatic
#4B1F88 #672BBA #864CD6 #A87EE1 #C9B0ED

Accessibility & contrast

On white

5.23
#864CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #864CD6
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864CD6#FFFFFF#000000##FFFFFF
##864CD61.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDA
Deuteranopia (green-blind)
#006BD3
Tritanopia (blue-blind)
#746B8A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #864cd6;
/* rgb */ color: rgb(134, 76, 214);
/* oklch */ color: oklch(55.5% 0.202 299.0);
Tailwind
colors: {
  custom: {
    50: '#af81e3',
    500: '#864cd6',
    950: '#000000',
  },
}
SCSS
$custom: #864cd6;
$custom-light: #af81e3;
$custom-dark: #000000;
JSON
{
  "hex": "#864cd6",
  "rgb": {
    "r": 134,
    "g": 76,
    "b": 214
  },
  "hsl": {
    "h": 265.217,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5551,
    "c": 0.20215,
    "h": 299
  },
  "luminance": 0.15092
}

Semantic roles & 50–950 ramp

primary
#864CD6
secondary
#C3DBA3
accent
#E642A1
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #864CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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