#864CC8#864CC8

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

Color values

HEX#864CC8
RGBrgb(134, 76, 200)
HSLhsl(268, 53%, 54%)
HSVhsv(268, 62%, 78%)
CMYKcmyk(33%, 62%, 0%, 21.6%)
CIE-LABlab(44.81, 48.73, -55.59)
CIE-LCHlch(44.81, 73.93, 311.24°)
OKLaboklab(54.52% 0.099 -0.1577)
OKLCHoklch(54.52% 0.186 302.1)
XYZxyz(22.8388, 14.4073, 56.2100)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864CC8 #8EC84C
analogous
#4C50C8 #864CC8 #C44CC8
triadic
#864CC8 #C8864C #4CC886
tetradic
#864CC8 #C84C50 #8EC84C #4CC8C4
square
#864CC8 #C84C50 #8EC84C #4CC8C4
split-complementary
#864CC8 #C8C44C #50C84C
monochromatic
#4A2475 #6832A4 #864CC8 #A67BD6 #C5AAE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##864CC8#FFFFFF#000000##FFFFFF
##864CC81.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)
#0069CC
Deuteranopia (green-blind)
#256AC5
Tritanopia (blue-blind)
#796683
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #864cc8;
/* rgb */ color: rgb(134, 76, 200);
/* oklch */ color: oklch(54.5% 0.186 302.1);
Tailwind
colors: {
  custom: {
    50: '#ae81d9',
    500: '#864cc8',
    950: '#000000',
  },
}
SCSS
$custom: #864cc8;
$custom-light: #ae81d9;
$custom-dark: #000000;
JSON
{
  "hex": "#864cc8",
  "rgb": {
    "r": 134,
    "g": 76,
    "b": 200
  },
  "hsl": {
    "h": 268.065,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54522,
    "c": 0.18617,
    "h": 302.1
  },
  "luminance": 0.14407
}

Semantic roles & 50–950 ramp

primary
#864CC8
secondary
#BAD29E
accent
#DC4B99
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #864CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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