#864AD0#864AD0

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

Color values

HEX#864AD0
RGBrgb(134, 74, 208)
HSLhsl(267, 59%, 55%)
HSVhsv(267, 64%, 82%)
CMYKcmyk(35.6%, 64.4%, 0%, 18.4%)
CIE-LABlab(44.97, 51.74, -59.95)
CIE-LCHlch(44.97, 79.19, 310.80°)
OKLaboklab(54.81% 0.1007 -0.1705)
OKLCHoklch(54.81% 0.198 300.6)
XYZxyz(23.6627, 14.5198, 61.2182)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864AD0 #94D04A
analogous
#4A51D0 #864AD0 #C94AD0
triadic
#864AD0 #D0864A #4AD086
tetradic
#864AD0 #D04A51 #94D04A #4AD0C9
square
#864AD0 #D04A51 #94D04A #4AD0C9
split-complementary
#864AD0 #D0C94A #51D04A
monochromatic
#4B217F #682EAF #864AD0 #A67BDD #C7ABE9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##864AD0#FFFFFF#000000##FFFFFF
##864AD01.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)
#006AD4
Deuteranopia (green-blind)
#096ACD
Tritanopia (blue-blind)
#766886
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #864ad0;
/* rgb */ color: rgb(134, 74, 208);
/* oklch */ color: oklch(54.8% 0.198 300.6);
Tailwind
colors: {
  custom: {
    50: '#ae80df',
    500: '#864ad0',
    950: '#000000',
  },
}
SCSS
$custom: #864ad0;
$custom-light: #ae80df;
$custom-dark: #000000;
JSON
{
  "hex": "#864ad0",
  "rgb": {
    "r": 134,
    "g": 74,
    "b": 208
  },
  "hsl": {
    "h": 266.866,
    "s": 58.772,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54808,
    "c": 0.198,
    "h": 300.6
  },
  "luminance": 0.1452
}

Semantic roles & 50–950 ramp

primary
#864AD0
secondary
#BED79F
accent
#E2469C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #864AD0

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

Preview Lab → · Contrast checker → · Palette generator →

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