#864DD3#864DD3

#864DD3 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.4% C 0.197 H 299.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#864DD3
RGBrgb(134, 77, 211)
HSLhsl(266, 60%, 56%)
HSVhsv(266, 64%, 83%)
CMYKcmyk(36.5%, 63.5%, 0%, 17.3%)
CIE-LABlab(45.74, 50.95, -60.42)
CIE-LCHlch(45.74, 79.04, 310.14°)
OKLaboklab(55.43% 0.0971 -0.1719)
OKLCHoklch(55.43% 0.197 299.5)
XYZxyz(24.2404, 15.0790, 63.2488)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864DD3 #9AD34D
analogous
#4D57D3 #864DD3 #C94DD3
triadic
#864DD3 #D3864D #4DD386
tetradic
#864DD3 #D34D57 #9AD34D #4DD3C9
square
#864DD3 #D34D57 #9AD34D #4DD3C9
split-complementary
#864DD3 #D3C94D #57D34D
monochromatic
#4B2185 #672DB6 #864DD3 #A77EDF #C9AFEB

Accessibility & contrast

On white

5.23
#864DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#864DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864DD3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864DD3#FFFFFF#000000##FFFFFF
##864DD31.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD7
Deuteranopia (green-blind)
#0A6BD0
Tritanopia (blue-blind)
#756B89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #864dd3;
/* rgb */ color: rgb(134, 77, 211);
/* oklch */ color: oklch(55.4% 0.197 299.5);
Tailwind
colors: {
  custom: {
    50: '#ae82e1',
    500: '#864dd3',
    950: '#000000',
  },
}
SCSS
$custom: #864dd3;
$custom-light: #ae82e1;
$custom-dark: #000000;
JSON
{
  "hex": "#864dd3",
  "rgb": {
    "r": 134,
    "g": 77,
    "b": 211
  },
  "hsl": {
    "h": 265.522,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55431,
    "c": 0.19741,
    "h": 299.5
  },
  "luminance": 0.15079
}

Semantic roles & 50–950 ramp

primary
#864DD3
secondary
#C2D9A2
accent
#E444A0
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #864DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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