#864BCC#864BCC

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

Color values

HEX#864BCC
RGBrgb(134, 75, 204)
HSLhsl(267, 56%, 55%)
HSVhsv(267, 63%, 80%)
CMYKcmyk(34.3%, 63.2%, 0%, 20%)
CIE-LABlab(44.89, 50.24, -57.78)
CIE-LCHlch(44.89, 76.57, 311.00°)
OKLaboklab(54.66% 0.0999 -0.1641)
OKLCHoklch(54.66% 0.192 301.3)
XYZxyz(23.2441, 14.4600, 58.6815)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864BCC #91CC4B
analogous
#4B51CC #864BCC #C74BCC
triadic
#864BCC #CC864B #4BCC86
tetradic
#864BCC #CC4B51 #91CC4B #4BCCC7
square
#864BCC #CC4B51 #91CC4B #4BCCC7
split-complementary
#864BCC #CCC74B #51CC4B
monochromatic
#4B237A #6830AA #864BCC #A67BDA #C6AAE7

Accessibility & contrast

On white

5.40
#864BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#864BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864BCC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864BCC#FFFFFF#000000##FFFFFF
##864BCC1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#1A6AC9
Tritanopia (blue-blind)
#776785
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #864bcc;
/* rgb */ color: rgb(134, 75, 204);
/* oklch */ color: oklch(54.7% 0.192 301.3);
Tailwind
colors: {
  custom: {
    50: '#ae80dc',
    500: '#864bcc',
    950: '#000000',
  },
}
SCSS
$custom: #864bcc;
$custom-light: #ae80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#864bcc",
  "rgb": {
    "r": 134,
    "g": 75,
    "b": 204
  },
  "hsl": {
    "h": 267.442,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54661,
    "c": 0.19212,
    "h": 301.3
  },
  "luminance": 0.1446
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #864BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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