#864EBD#864EBD

#864EBD is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.1% C 0.171 H 304.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#864EBD
RGBrgb(134, 78, 189)
HSLhsl(270, 46%, 52%)
HSVhsv(270, 59%, 74%)
CMYKcmyk(29.1%, 58.7%, 0%, 25.9%)
CIE-LABlab(44.51, 44.98, -49.70)
CIE-LCHlch(44.51, 67.03, 312.14°)
OKLaboklab(54.08% 0.0968 -0.1404)
OKLCHoklch(54.08% 0.171 304.6)
XYZxyz(21.7392, 14.1913, 49.7282)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864EBD #85BD4E
analogous
#4E4EBD #864EBD #BD4EBD
triadic
#864EBD #BD864E #4EBD86
tetradic
#864EBD #BD4E4E #85BD4E #4EBDBD
square
#864EBD #BD4E4E #85BD4E #4EBDBD
split-complementary
#864EBD #BDBD4E #4EBD4E
monochromatic
#492769 #673896 #864EBD #A47BCE #C3A7DE

Accessibility & contrast

On white

5.47
#864EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#864EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864EBD
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864EBD#FFFFFF#000000##FFFFFF
##864EBD1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D68C1
Deuteranopia (green-blind)
#3669BA
Tritanopia (blue-blind)
#7C647E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #864ebd;
/* rgb */ color: rgb(134, 78, 189);
/* oklch */ color: oklch(54.1% 0.171 304.6);
Tailwind
colors: {
  custom: {
    50: '#ad82d1',
    500: '#864ebd',
    950: '#000000',
  },
}
SCSS
$custom: #864ebd;
$custom-light: #ad82d1;
$custom-dark: #000000;
JSON
{
  "hex": "#864ebd",
  "rgb": {
    "r": 134,
    "g": 78,
    "b": 189
  },
  "hsl": {
    "h": 270.27,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54076,
    "c": 0.17054,
    "h": 304.6
  },
  "luminance": 0.14191
}

Semantic roles & 50–950 ramp

primary
#864EBD
secondary
#B3CC9B
accent
#D55293
background
#FAF8FC
surface
#F5EFF9
border
#CFCAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #864EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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