#864DD8#864DD8

#864DD8 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.8% C 0.203 H 298.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#864DD8
RGBrgb(134, 77, 216)
HSLhsl(265, 64%, 57%)
HSVhsv(265, 64%, 85%)
CMYKcmyk(38%, 64.4%, 0%, 15.3%)
CIE-LABlab(46.09, 52.21, -62.73)
CIE-LCHlch(46.09, 81.61, 309.77°)
OKLaboklab(55.79% 0.0966 -0.1787)
OKLCHoklch(55.79% 0.203 298.4)
XYZxyz(24.8769, 15.3336, 66.6015)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864DD8 #9FD84D
analogous
#4D5AD8 #864DD8 #CB4DD8
triadic
#864DD8 #D8864D #4DD886
tetradic
#864DD8 #D84D5A #9FD84D #4DD8CB
square
#864DD8 #D84D5A #9FD84D #4DD8CB
split-complementary
#864DD8 #D8CB4D #5AD84D
monochromatic
#4B1F8C #672ABE #864DD8 #A87FE3 #CAB1EE

Accessibility & contrast

On white

5.16
#864DD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#864DD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864DD8
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864DD8#FFFFFF#000000##FFFFFF
##864DD81.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#006CD5
Tritanopia (blue-blind)
#736D8C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #864dd8;
/* rgb */ color: rgb(134, 77, 216);
/* oklch */ color: oklch(55.8% 0.203 298.4);
Tailwind
colors: {
  custom: {
    50: '#af82e5',
    500: '#864dd8',
    950: '#000000',
  },
}
SCSS
$custom: #864dd8;
$custom-light: #af82e5;
$custom-dark: #000000;
JSON
{
  "hex": "#864dd8",
  "rgb": {
    "r": 134,
    "g": 77,
    "b": 216
  },
  "hsl": {
    "h": 264.604,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5579,
    "c": 0.20312,
    "h": 298.4
  },
  "luminance": 0.15334
}

Semantic roles & 50–950 ramp

primary
#864DD8
secondary
#C5DCA4
accent
#E741A3
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #864DD8

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

Preview Lab → · Contrast checker → · Palette generator →

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