#864CCC#864CCC

#864CCC is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.8% C 0.191 H 301.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#864CCC
RGBrgb(134, 76, 204)
HSLhsl(267, 56%, 55%)
HSVhsv(267, 63%, 80%)
CMYKcmyk(34.3%, 62.7%, 0%, 20%)
CIE-LABlab(45.08, 49.72, -57.47)
CIE-LCHlch(45.08, 76.00, 310.86°)
OKLaboklab(54.8% 0.0987 -0.1632)
OKLCHoklch(54.8% 0.191 301.2)
XYZxyz(23.3124, 14.5967, 58.7043)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864CCC #92CC4C
analogous
#4C52CC #864CCC #C64CCC
triadic
#864CCC #CC864C #4CCC86
tetradic
#864CCC #CC4C52 #92CC4C #4CCCC6
square
#864CCC #CC4C52 #92CC4C #4CCCC6
split-complementary
#864CCC #CCC64C #52CC4C
monochromatic
#4B237B #6831AA #864CCC #A67CDA #C6ABE7

Accessibility & contrast

On white

5.36
#864CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#864CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864CCC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864CCC#FFFFFF#000000##FFFFFF
##864CCC1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#1D6AC9
Tritanopia (blue-blind)
#776885
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #864ccc;
/* rgb */ color: rgb(134, 76, 204);
/* oklch */ color: oklch(54.8% 0.191 301.2);
Tailwind
colors: {
  custom: {
    50: '#ae81dc',
    500: '#864ccc',
    950: '#000000',
  },
}
SCSS
$custom: #864ccc;
$custom-light: #ae81dc;
$custom-dark: #000000;
JSON
{
  "hex": "#864ccc",
  "rgb": {
    "r": 134,
    "g": 76,
    "b": 204
  },
  "hsl": {
    "h": 267.188,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54799,
    "c": 0.19075,
    "h": 301.2
  },
  "luminance": 0.14597
}

Semantic roles & 50–950 ramp

primary
#864CCC
secondary
#BCD59F
accent
#DF499B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #864CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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