#864AD9#864AD9

#864AD9 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.5% C 0.208 H 298.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#864AD9
RGBrgb(134, 74, 217)
HSLhsl(265, 65%, 57%)
HSVhsv(265, 66%, 85%)
CMYKcmyk(38.2%, 65.9%, 0%, 14.9%)
CIE-LABlab(45.60, 53.99, -64.09)
CIE-LCHlch(45.60, 83.80, 310.11°)
OKLaboklab(55.46% 0.0997 -0.1827)
OKLCHoklch(55.46% 0.208 298.6)
XYZxyz(24.8015, 14.9753, 67.2160)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864AD9 #9DD94A
analogous
#4A56D9 #864AD9 #CE4AD9
triadic
#864AD9 #D9864A #4AD986
tetradic
#864AD9 #D94A56 #9DD94A #4AD9CE
square
#864AD9 #D94A56 #9DD94A #4AD9CE
split-complementary
#864AD9 #D9CE4A #56D94A
monochromatic
#4B1D8B #6728BE #864AD9 #A87DE4 #CAAFEE

Accessibility & contrast

On white

5.26
#864AD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#864AD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864AD9
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864AD9#FFFFFF#000000##FFFFFF
##864AD91.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#006BD6
Tritanopia (blue-blind)
#736B8B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #864ad9;
/* rgb */ color: rgb(134, 74, 217);
/* oklch */ color: oklch(55.5% 0.208 298.6);
Tailwind
colors: {
  custom: {
    50: '#af80e6',
    500: '#864ad9',
    950: '#000000',
  },
}
SCSS
$custom: #864ad9;
$custom-light: #af80e6;
$custom-dark: #000000;
JSON
{
  "hex": "#864ad9",
  "rgb": {
    "r": 134,
    "g": 74,
    "b": 217
  },
  "hsl": {
    "h": 265.175,
    "s": 65.297,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55462,
    "c": 0.20811,
    "h": 298.6
  },
  "luminance": 0.14976
}

Semantic roles & 50–950 ramp

primary
#864AD9
secondary
#C4DCA2
accent
#E840A1
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #864AD9

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

Preview Lab → · Contrast checker → · Palette generator →

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