#864CD5#864CD5

#864CD5 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.4% C 0.201 H 299.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#864CD5
RGBrgb(134, 76, 213)
HSLhsl(265, 62%, 57%)
HSVhsv(265, 64%, 84%)
CMYKcmyk(37.1%, 64.3%, 0%, 16.5%)
CIE-LABlab(45.69, 51.97, -61.65)
CIE-LCHlch(45.69, 80.64, 310.13°)
OKLaboklab(55.44% 0.098 -0.1755)
OKLCHoklch(55.44% 0.201 299.2)
XYZxyz(24.4232, 15.0410, 64.5544)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864CD5 #9BD54C
analogous
#4C57D5 #864CD5 #CA4CD5
triadic
#864CD5 #D5864C #4CD586
tetradic
#864CD5 #D54C57 #9BD54C #4CD5CA
square
#864CD5 #D54C57 #9BD54C #4CD5CA
split-complementary
#864CD5 #D5CA4C #57D54C
monochromatic
#4B2087 #672BB9 #864CD5 #A87EE1 #C9AFEC

Accessibility & contrast

On white

5.24
#864CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#864CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864CD5
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864CD5#FFFFFF#000000##FFFFFF
##864CD51.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#006BD2
Tritanopia (blue-blind)
#746B8A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #864cd5;
/* rgb */ color: rgb(134, 76, 213);
/* oklch */ color: oklch(55.4% 0.201 299.2);
Tailwind
colors: {
  custom: {
    50: '#af81e3',
    500: '#864cd5',
    950: '#000000',
  },
}
SCSS
$custom: #864cd5;
$custom-light: #af81e3;
$custom-dark: #000000;
JSON
{
  "hex": "#864cd5",
  "rgb": {
    "r": 134,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 265.401,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55437,
    "c": 0.20101,
    "h": 299.2
  },
  "luminance": 0.15041
}

Semantic roles & 50–950 ramp

primary
#864CD5
secondary
#C3DAA2
accent
#E543A0
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B15
muted
#807C84

Preview Lab

Preview with #864CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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