#864CCB#864CCB

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

Color values

HEX#864CCB
RGBrgb(134, 76, 203)
HSLhsl(267, 55%, 55%)
HSVhsv(267, 63%, 80%)
CMYKcmyk(34%, 62.6%, 0%, 20.4%)
CIE-LABlab(45.01, 49.47, -57.01)
CIE-LCHlch(45.01, 75.48, 310.95°)
OKLaboklab(54.73% 0.0988 -0.1618)
OKLCHoklch(54.73% 0.19 301.4)
XYZxyz(23.1929, 14.5489, 58.0747)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864CCB #91CB4C
analogous
#4C51CB #864CCB #C64CCB
triadic
#864CCB #CB864C #4CCB86
tetradic
#864CCB #CB4C51 #91CB4C #4CCBC6
square
#864CCB #CB4C51 #91CB4C #4CCBC6
split-complementary
#864CCB #CBC64C #51CB4C
monochromatic
#4B2379 #6831A9 #864CCB #A67BD9 #C6ABE7

Accessibility & contrast

On white

5.37
#864CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#864CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864CCB
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864CCB#FFFFFF#000000##FFFFFF
##864CCB1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#1F6AC8
Tritanopia (blue-blind)
#786784
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #864ccb;
/* rgb */ color: rgb(134, 76, 203);
/* oklch */ color: oklch(54.7% 0.190 301.4);
Tailwind
colors: {
  custom: {
    50: '#ae81dc',
    500: '#864ccb',
    950: '#000000',
  },
}
SCSS
$custom: #864ccb;
$custom-light: #ae81dc;
$custom-dark: #000000;
JSON
{
  "hex": "#864ccb",
  "rgb": {
    "r": 134,
    "g": 76,
    "b": 203
  },
  "hsl": {
    "h": 267.402,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5473,
    "c": 0.18961,
    "h": 301.4
  },
  "luminance": 0.14549
}

Semantic roles & 50–950 ramp

primary
#864CCB
secondary
#BCD49F
accent
#DE499A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #864CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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