#864DBE#864DBE

#864DBE is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.0% C 0.173 H 304.5°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#864DBE
RGBrgb(134, 77, 190)
HSLhsl(270, 47%, 52%)
HSVhsv(270, 59%, 75%)
CMYKcmyk(29.5%, 59.5%, 0%, 25.5%)
CIE-LABlab(44.37, 45.75, -50.50)
CIE-LCHlch(44.37, 68.15, 312.17°)
OKLaboklab(53.99% 0.0981 -0.1428)
OKLCHoklch(53.99% 0.173 304.5)
XYZxyz(21.7776, 14.0939, 50.2783)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864DBE #85BE4D
analogous
#4D4DBE #864DBE #BE4DBE
triadic
#864DBE #BE864D #4DBE86
tetradic
#864DBE #BE4D4D #85BE4D #4DBEBE
square
#864DBE #BE4D4D #85BE4D #4DBEBE
split-complementary
#864DBE #BEBE4D #4DBE4D
monochromatic
#49276A #673797 #864DBE #A47ACE #C3A7DF

Accessibility & contrast

On white

5.50
#864DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#864DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864DBE
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864DBE#FFFFFF#000000##FFFFFF
##864DBE1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1867C2
Deuteranopia (green-blind)
#3469BB
Tritanopia (blue-blind)
#7C647E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #864dbe;
/* rgb */ color: rgb(134, 77, 190);
/* oklch */ color: oklch(54.0% 0.173 304.5);
Tailwind
colors: {
  custom: {
    50: '#ad81d2',
    500: '#864dbe',
    950: '#000000',
  },
}
SCSS
$custom: #864dbe;
$custom-light: #ad81d2;
$custom-dark: #000000;
JSON
{
  "hex": "#864dbe",
  "rgb": {
    "r": 134,
    "g": 77,
    "b": 190
  },
  "hsl": {
    "h": 270.265,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53994,
    "c": 0.17319,
    "h": 304.5
  },
  "luminance": 0.14094
}

Semantic roles & 50–950 ramp

primary
#864DBE
secondary
#B3CC9B
accent
#D65293
background
#FAF8FD
surface
#F5EFFA
border
#CFCAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #864DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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