#864CCD#864CCD

#864CCD is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.9% C 0.192 H 300.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#864CCD
RGBrgb(134, 76, 205)
HSLhsl(267, 56%, 55%)
HSVhsv(267, 63%, 80%)
CMYKcmyk(34.6%, 62.9%, 0%, 19.6%)
CIE-LABlab(45.14, 49.97, -57.94)
CIE-LCHlch(45.14, 76.51, 310.77°)
OKLaboklab(54.87% 0.0987 -0.1646)
OKLCHoklch(54.87% 0.192 300.9)
XYZxyz(23.4328, 14.6449, 59.3380)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864CCD #93CD4C
analogous
#4C52CD #864CCD #C74CCD
triadic
#864CCD #CD864C #4CCD86
tetradic
#864CCD #CD4C52 #93CD4C #4CCDC7
square
#864CCD #CD4C52 #93CD4C #4CCDC7
split-complementary
#864CCD #CDC74C #52CD4C
monochromatic
#4B237C #6830AC #864CCD #A67CDA #C7ACE8

Accessibility & contrast

On white

5.34
#864CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#864CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864CCD
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864CCD#FFFFFF#000000##FFFFFF
##864CCD1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#1A6ACA
Tritanopia (blue-blind)
#776886
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #864ccd;
/* rgb */ color: rgb(134, 76, 205);
/* oklch */ color: oklch(54.9% 0.192 300.9);
Tailwind
colors: {
  custom: {
    50: '#ae81dd',
    500: '#864ccd',
    950: '#000000',
  },
}
SCSS
$custom: #864ccd;
$custom-light: #ae81dd;
$custom-dark: #000000;
JSON
{
  "hex": "#864ccd",
  "rgb": {
    "r": 134,
    "g": 76,
    "b": 205
  },
  "hsl": {
    "h": 266.977,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54869,
    "c": 0.1919,
    "h": 300.9
  },
  "luminance": 0.14645
}

Semantic roles & 50–950 ramp

primary
#864CCD
secondary
#BDD59F
accent
#E0489C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #864CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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