#864BCB#864BCB

#864BCB is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.6% C 0.191 H 301.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#864BCB
RGBrgb(134, 75, 203)
HSLhsl(268, 55%, 55%)
HSVhsv(268, 63%, 80%)
CMYKcmyk(34%, 63.1%, 0%, 20.4%)
CIE-LABlab(44.82, 49.99, -57.32)
CIE-LCHlch(44.82, 76.05, 311.10°)
OKLaboklab(54.59% 0.0999 -0.1627)
OKLCHoklch(54.59% 0.191 301.6)
XYZxyz(23.1245, 14.4122, 58.0519)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864BCB #90CB4B
analogous
#4B50CB #864BCB #C64BCB
triadic
#864BCB #CB864B #4BCB86
tetradic
#864BCB #CB4B50 #90CB4B #4BCBC6
square
#864BCB #CB4B50 #90CB4B #4BCBC6
split-complementary
#864BCB #CBC64B #50CB4B
monochromatic
#4A2379 #6831A8 #864BCB #A67AD9 #C6AAE6

Accessibility & contrast

On white

5.41
#864BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#864BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864BCB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864BCB#FFFFFF#000000##FFFFFF
##864BCB1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#1D69C8
Tritanopia (blue-blind)
#786784
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #864bcb;
/* rgb */ color: rgb(134, 75, 203);
/* oklch */ color: oklch(54.6% 0.191 301.6);
Tailwind
colors: {
  custom: {
    50: '#ae80dc',
    500: '#864bcb',
    950: '#000000',
  },
}
SCSS
$custom: #864bcb;
$custom-light: #ae80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#864bcb",
  "rgb": {
    "r": 134,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 267.656,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54591,
    "c": 0.19099,
    "h": 301.6
  },
  "luminance": 0.14412
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #864BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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