#864CCA#864CCA

#864CCA is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.7% C 0.188 H 301.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#864CCA
RGBrgb(134, 76, 202)
HSLhsl(268, 54%, 55%)
HSVhsv(268, 62%, 79%)
CMYKcmyk(33.7%, 62.4%, 0%, 20.8%)
CIE-LABlab(44.94, 49.22, -56.54)
CIE-LCHlch(44.94, 74.96, 311.05°)
OKLaboklab(54.66% 0.0988 -0.1605)
OKLCHoklch(54.66% 0.188 301.6)
XYZxyz(23.0741, 14.5014, 57.4491)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864CCA #90CA4C
analogous
#4C51CA #864CCA #C54CCA
triadic
#864CCA #CA864C #4CCA86
tetradic
#864CCA #CA4C51 #90CA4C #4CCAC5
square
#864CCA #CA4C51 #90CA4C #4CCAC5
split-complementary
#864CCA #CAC54C #51CA4C
monochromatic
#4A2478 #6832A7 #864CCA #A67BD8 #C6AAE6

Accessibility & contrast

On white

5.38
#864CCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#864CCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864CCA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864CCA#FFFFFF#000000##FFFFFF
##864CCA1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#216AC7
Tritanopia (blue-blind)
#786784
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #864cca;
/* rgb */ color: rgb(134, 76, 202);
/* oklch */ color: oklch(54.7% 0.188 301.6);
Tailwind
colors: {
  custom: {
    50: '#ae81db',
    500: '#864cca',
    950: '#000000',
  },
}
SCSS
$custom: #864cca;
$custom-light: #ae81db;
$custom-dark: #000000;
JSON
{
  "hex": "#864cca",
  "rgb": {
    "r": 134,
    "g": 76,
    "b": 202
  },
  "hsl": {
    "h": 267.619,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5466,
    "c": 0.18847,
    "h": 301.6
  },
  "luminance": 0.14501
}

Semantic roles & 50–950 ramp

primary
#864CCA
secondary
#BBD49E
accent
#DE4A9A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #864CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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