#864CE1#864CE1

#864CE1 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.3% C 0.215 H 296.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#864CE1
RGBrgb(134, 76, 225)
HSLhsl(263, 71%, 59%)
HSVhsv(263, 66%, 88%)
CMYKcmyk(40.4%, 66.2%, 0%, 11.8%)
CIE-LABlab(46.54, 55.01, -67.11)
CIE-LCHlch(46.54, 86.78, 309.34°)
OKLaboklab(56.32% 0.0967 -0.1916)
OKLCHoklch(56.32% 0.215 296.8)
XYZxyz(26.0030, 15.6730, 72.8747)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864CE1 #A7E14C
analogous
#4C5DE1 #864CE1 #D14CE1
triadic
#864CE1 #E1864C #4CE186
tetradic
#864CE1 #E14C5D #A7E14C #4CE1D1
square
#864CE1 #E14C5D #A7E14C #4CE1D1
split-complementary
#864CE1 #E1D14C #5DE14C
monochromatic
#4B1A99 #6522CD #864CE1 #A980EA #CDB5F3

Accessibility & contrast

On white

5.08
#864CE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#864CE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864CE1
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864CE1#FFFFFF#000000##FFFFFF
##864CE11.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE6
Deuteranopia (green-blind)
#006CDE
Tritanopia (blue-blind)
#6F6F90
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #864ce1;
/* rgb */ color: rgb(134, 76, 225);
/* oklch */ color: oklch(56.3% 0.215 296.8);
Tailwind
colors: {
  custom: {
    50: '#b082eb',
    500: '#864ce1',
    950: '#000000',
  },
}
SCSS
$custom: #864ce1;
$custom-light: #b082eb;
$custom-dark: #000000;
JSON
{
  "hex": "#864ce1",
  "rgb": {
    "r": 134,
    "g": 76,
    "b": 225
  },
  "hsl": {
    "h": 263.356,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56319,
    "c": 0.21457,
    "h": 296.8
  },
  "luminance": 0.15673
}

Semantic roles & 50–950 ramp

primary
#864CE1
secondary
#CBE2A7
accent
#EE3AA8
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #864CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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