#864AD5#864AD5

#864AD5 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.2% C 0.204 H 299.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#864AD5
RGBrgb(134, 74, 213)
HSLhsl(266, 62%, 56%)
HSVhsv(266, 65%, 84%)
CMYKcmyk(37.1%, 65.3%, 0%, 16.5%)
CIE-LABlab(45.32, 52.99, -62.26)
CIE-LCHlch(45.32, 81.75, 310.40°)
OKLaboklab(55.17% 0.1002 -0.1773)
OKLCHoklch(55.17% 0.204 299.5)
XYZxyz(24.2876, 14.7697, 64.5091)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864AD5 #99D54A
analogous
#4A54D5 #864AD5 #CC4AD5
triadic
#864AD5 #D5864A #4AD586
tetradic
#864AD5 #D54A54 #99D54A #4AD5CC
square
#864AD5 #D54A54 #99D54A #4AD5CC
split-complementary
#864AD5 #D5CC4A #54D54A
monochromatic
#4B1F86 #672BB7 #864AD5 #A77CE1 #C8ADEC

Accessibility & contrast

On white

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

On black

3.95
#864AD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##864AD5#FFFFFF#000000##FFFFFF
##864AD51.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#006AD2
Tritanopia (blue-blind)
#746A89
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #864ad5;
/* rgb */ color: rgb(134, 74, 213);
/* oklch */ color: oklch(55.2% 0.204 299.5);
Tailwind
colors: {
  custom: {
    50: '#af80e3',
    500: '#864ad5',
    950: '#000000',
  },
}
SCSS
$custom: #864ad5;
$custom-light: #af80e3;
$custom-dark: #000000;
JSON
{
  "hex": "#864ad5",
  "rgb": {
    "r": 134,
    "g": 74,
    "b": 213
  },
  "hsl": {
    "h": 265.899,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55169,
    "c": 0.20362,
    "h": 299.5
  },
  "luminance": 0.1477
}

Semantic roles & 50–950 ramp

primary
#864AD5
secondary
#C1DAA1
accent
#E5429F
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110A15
muted
#807C84

Preview Lab

Preview with #864AD5

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

Preview Lab → · Contrast checker → · Palette generator →

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