#864CDA#864CDA

#864CDA is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.8% C 0.207 H 298.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#864CDA
RGBrgb(134, 76, 218)
HSLhsl(265, 66%, 58%)
HSVhsv(265, 65%, 85%)
CMYKcmyk(38.5%, 65.1%, 0%, 14.5%)
CIE-LABlab(46.04, 53.23, -63.94)
CIE-LCHlch(46.04, 83.20, 309.78°)
OKLaboklab(55.8% 0.0975 -0.1822)
OKLCHoklch(55.8% 0.207 298.1)
XYZxyz(25.0676, 15.2988, 67.9483)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864CDA #A0DA4C
analogous
#4C59DA #864CDA #CD4CDA
triadic
#864CDA #DA864C #4CDA86
tetradic
#864CDA #DA4C59 #A0DA4C #4CDACD
square
#864CDA #DA4C59 #A0DA4C #4CDACD
split-complementary
#864CDA #DACD4C #59DA4C
monochromatic
#4B1D8E #6628C1 #864CDA #A87FE4 #CBB1EF

Accessibility & contrast

On white

5.17
#864CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#864CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864CDA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864CDA#FFFFFF#000000##FFFFFF
##864CDA1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#006CD7
Tritanopia (blue-blind)
#726D8C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #864cda;
/* rgb */ color: rgb(134, 76, 218);
/* oklch */ color: oklch(55.8% 0.207 298.1);
Tailwind
colors: {
  custom: {
    50: '#af81e6',
    500: '#864cda',
    950: '#000000',
  },
}
SCSS
$custom: #864cda;
$custom-light: #af81e6;
$custom-dark: #000000;
JSON
{
  "hex": "#864cda",
  "rgb": {
    "r": 134,
    "g": 76,
    "b": 218
  },
  "hsl": {
    "h": 264.507,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55801,
    "c": 0.20668,
    "h": 298.1
  },
  "luminance": 0.15299
}

Semantic roles & 50–950 ramp

primary
#864CDA
secondary
#C6DDA4
accent
#E93FA3
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #864CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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