#864DCD#864DCD

#864DCD is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.0% C 0.191 H 300.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#864DCD
RGBrgb(134, 77, 205)
HSLhsl(267, 56%, 55%)
HSVhsv(267, 62%, 80%)
CMYKcmyk(34.6%, 62.4%, 0%, 19.6%)
CIE-LABlab(45.34, 49.45, -57.63)
CIE-LCHlch(45.34, 75.94, 310.63°)
OKLaboklab(55.01% 0.0975 -0.1637)
OKLCHoklch(55.01% 0.191 300.8)
XYZxyz(23.5022, 14.7837, 59.3611)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864DCD #94CD4D
analogous
#4D54CD #864DCD #C64DCD
triadic
#864DCD #CD864D #4DCD86
tetradic
#864DCD #CD4D54 #94CD4D #4DCDC6
square
#864DCD #CD4D54 #94CD4D #4DCDC6
split-complementary
#864DCD #CDC64D #54CD4D
monochromatic
#4B237D #6830AC #864DCD #A67DDA #C7ADE8

Accessibility & contrast

On white

5.31
#864DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#864DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864DCD
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864DCD#FFFFFF#000000##FFFFFF
##864DCD1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#1D6BCA
Tritanopia (blue-blind)
#776986
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #864dcd;
/* rgb */ color: rgb(134, 77, 205);
/* oklch */ color: oklch(55.0% 0.191 300.8);
Tailwind
colors: {
  custom: {
    50: '#ae82dd',
    500: '#864dcd',
    950: '#000000',
  },
}
SCSS
$custom: #864dcd;
$custom-light: #ae82dd;
$custom-dark: #000000;
JSON
{
  "hex": "#864dcd",
  "rgb": {
    "r": 134,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 266.719,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55009,
    "c": 0.19053,
    "h": 300.8
  },
  "luminance": 0.14784
}

Semantic roles & 50–950 ramp

primary
#864DCD
secondary
#BED6A0
accent
#DF489C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #864DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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