#864DD6#864DD6

#864DD6 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.6% C 0.201 H 298.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#864DD6
RGBrgb(134, 77, 214)
HSLhsl(265, 63%, 57%)
HSVhsv(265, 64%, 84%)
CMYKcmyk(37.4%, 64%, 0%, 16.1%)
CIE-LABlab(45.95, 51.71, -61.81)
CIE-LCHlch(45.95, 80.58, 309.92°)
OKLaboklab(55.65% 0.0968 -0.176)
OKLCHoklch(55.65% 0.201 298.8)
XYZxyz(24.6200, 15.2308, 65.2480)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864DD6 #9DD64D
analogous
#4D58D6 #864DD6 #CB4DD6
triadic
#864DD6 #D6864D #4DD686
tetradic
#864DD6 #D64D58 #9DD64D #4DD6CB
square
#864DD6 #D64D58 #9DD64D #4DD6CB
split-complementary
#864DD6 #D6CB4D #58D64D
monochromatic
#4B2089 #672BBB #864DD6 #A87FE1 #CAB0ED

Accessibility & contrast

On white

5.19
#864DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#864DD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864DD6
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864DD6#FFFFFF#000000##FFFFFF
##864DD61.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDA
Deuteranopia (green-blind)
#006CD3
Tritanopia (blue-blind)
#746C8B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #864dd6;
/* rgb */ color: rgb(134, 77, 214);
/* oklch */ color: oklch(55.6% 0.201 298.8);
Tailwind
colors: {
  custom: {
    50: '#af82e3',
    500: '#864dd6',
    950: '#000000',
  },
}
SCSS
$custom: #864dd6;
$custom-light: #af82e3;
$custom-dark: #000000;
JSON
{
  "hex": "#864dd6",
  "rgb": {
    "r": 134,
    "g": 77,
    "b": 214
  },
  "hsl": {
    "h": 264.964,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55646,
    "c": 0.20084,
    "h": 298.8
  },
  "luminance": 0.15231
}

Semantic roles & 50–950 ramp

primary
#864DD6
secondary
#C4DBA4
accent
#E642A2
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #864DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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