#864AE1#864AE1

#864AE1 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.1% C 0.217 H 297.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#864AE1
RGBrgb(134, 74, 225)
HSLhsl(264, 72%, 59%)
HSVhsv(264, 67%, 88%)
CMYKcmyk(40.4%, 67.1%, 0%, 11.8%)
CIE-LABlab(46.18, 56.01, -67.70)
CIE-LCHlch(46.18, 87.87, 309.60°)
OKLaboklab(56.06% 0.0987 -0.1933)
OKLCHoklch(56.06% 0.217 297)
XYZxyz(25.8674, 15.4017, 72.8295)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864AE1 #A5E14A
analogous
#4A59E1 #864AE1 #D14AE1
triadic
#864AE1 #E1864A #4AE186
tetradic
#864AE1 #E14A59 #A5E14A #4AE1D1
square
#864AE1 #E14A59 #A5E14A #4AE1D1
split-complementary
#864AE1 #E1D14A #59E14A
monochromatic
#4B1997 #6522CC #864AE1 #A97EEA #CCB3F2

Accessibility & contrast

On white

5.15
#864AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#864AE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864AE1
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864AE1#FFFFFF#000000##FFFFFF
##864AE11.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE6
Deuteranopia (green-blind)
#006CDE
Tritanopia (blue-blind)
#6F6E90
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #864ae1;
/* rgb */ color: rgb(134, 74, 225);
/* oklch */ color: oklch(56.1% 0.217 297.0);
Tailwind
colors: {
  custom: {
    50: '#b080eb',
    500: '#864ae1',
    950: '#000000',
  },
}
SCSS
$custom: #864ae1;
$custom-light: #b080eb;
$custom-dark: #000000;
JSON
{
  "hex": "#864ae1",
  "rgb": {
    "r": 134,
    "g": 74,
    "b": 225
  },
  "hsl": {
    "h": 263.841,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56059,
    "c": 0.21703,
    "h": 297
  },
  "luminance": 0.15402
}

Semantic roles & 50–950 ramp

primary
#864AE1
secondary
#CAE1A6
accent
#EE39A6
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #864AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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