#864AD8#864AD8

#864AD8 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.4% C 0.207 H 298.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#864AD8
RGBrgb(134, 74, 216)
HSLhsl(265, 65%, 57%)
HSVhsv(265, 66%, 85%)
CMYKcmyk(38%, 65.7%, 0%, 15.3%)
CIE-LABlab(45.53, 53.74, -63.63)
CIE-LCHlch(45.53, 83.29, 310.18°)
OKLaboklab(55.39% 0.0998 -0.1813)
OKLCHoklch(55.39% 0.207 298.8)
XYZxyz(24.6719, 14.9235, 66.5331)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864AD8 #9CD84A
analogous
#4A55D8 #864AD8 #CD4AD8
triadic
#864AD8 #D8864A #4AD886
tetradic
#864AD8 #D84A55 #9CD84A #4AD8CD
square
#864AD8 #D84A55 #9CD84A #4AD8CD
split-complementary
#864AD8 #D8CD4A #55D84A
monochromatic
#4B1E8A #6729BC #864AD8 #A87CE3 #C9AFEE

Accessibility & contrast

On white

5.27
#864AD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#864AD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864AD8
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864AD8#FFFFFF#000000##FFFFFF
##864AD81.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #864ad8;
/* rgb */ color: rgb(134, 74, 216);
/* oklch */ color: oklch(55.4% 0.207 298.8);
Tailwind
colors: {
  custom: {
    50: '#af80e5',
    500: '#864ad8',
    950: '#000000',
  },
}
SCSS
$custom: #864ad8;
$custom-light: #af80e5;
$custom-dark: #000000;
JSON
{
  "hex": "#864ad8",
  "rgb": {
    "r": 134,
    "g": 74,
    "b": 216
  },
  "hsl": {
    "h": 265.352,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55388,
    "c": 0.20699,
    "h": 298.8
  },
  "luminance": 0.14924
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #864AD8

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

Preview Lab → · Contrast checker → · Palette generator →

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