#864BCD#864BCD

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

Color values

HEX#864BCD
RGBrgb(134, 75, 205)
HSLhsl(267, 57%, 55%)
HSVhsv(267, 63%, 80%)
CMYKcmyk(34.6%, 63.4%, 0%, 19.6%)
CIE-LABlab(44.95, 50.49, -58.25)
CIE-LCHlch(44.95, 77.08, 310.92°)
OKLaboklab(54.73% 0.0998 -0.1655)
OKLCHoklch(54.73% 0.193 301.1)
XYZxyz(23.3644, 14.5081, 59.3152)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864BCD #92CD4B
analogous
#4B51CD #864BCD #C74BCD
triadic
#864BCD #CD864B #4BCD86
tetradic
#864BCD #CD4B51 #92CD4B #4BCDC7
square
#864BCD #CD4B51 #92CD4B #4BCDC7
split-complementary
#864BCD #CDC74B #51CD4B
monochromatic
#4B227B #6830AB #864BCD #A67BDA #C6ABE8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##864BCD#FFFFFF#000000##FFFFFF
##864BCD1.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)
#006AD1
Deuteranopia (green-blind)
#186ACA
Tritanopia (blue-blind)
#776785
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #864bcd;
/* rgb */ color: rgb(134, 75, 205);
/* oklch */ color: oklch(54.7% 0.193 301.1);
Tailwind
colors: {
  custom: {
    50: '#ae80dd',
    500: '#864bcd',
    950: '#000000',
  },
}
SCSS
$custom: #864bcd;
$custom-light: #ae80dd;
$custom-dark: #000000;
JSON
{
  "hex": "#864bcd",
  "rgb": {
    "r": 134,
    "g": 75,
    "b": 205
  },
  "hsl": {
    "h": 267.231,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54731,
    "c": 0.19326,
    "h": 301.1
  },
  "luminance": 0.14508
}

Semantic roles & 50–950 ramp

primary
#864BCD
secondary
#BCD59F
accent
#E0489B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #864BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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