#864ED6#864ED6

#864ED6 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.8% C 0.200 H 298.7°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#864ED6
RGBrgb(134, 78, 214)
HSLhsl(265, 62%, 57%)
HSVhsv(265, 64%, 84%)
CMYKcmyk(37.4%, 63.6%, 0%, 16.1%)
CIE-LABlab(46.14, 51.19, -61.50)
CIE-LCHlch(46.14, 80.02, 309.77°)
OKLaboklab(55.78% 0.0957 -0.1751)
OKLCHoklch(55.78% 0.2 298.7)
XYZxyz(24.6905, 15.3718, 65.2715)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864ED6 #9ED64E
analogous
#4E5AD6 #864ED6 #CA4ED6
triadic
#864ED6 #D6864E #4ED686
tetradic
#864ED6 #D64E5A #9ED64E #4ED6CA
square
#864ED6 #D64E5A #9ED64E #4ED6CA
split-complementary
#864ED6 #D6CA4E #5AD64E
monochromatic
#4B208A #672BBB #864ED6 #A880E2 #CAB1ED

Accessibility & contrast

On white

5.15
#864ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #864ED6
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864ED6#FFFFFF#000000##FFFFFF
##864ED61.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #864ed6;
/* rgb */ color: rgb(134, 78, 214);
/* oklch */ color: oklch(55.8% 0.200 298.7);
Tailwind
colors: {
  custom: {
    50: '#af83e3',
    500: '#864ed6',
    950: '#000000',
  },
}
SCSS
$custom: #864ed6;
$custom-light: #af83e3;
$custom-dark: #000000;
JSON
{
  "hex": "#864ed6",
  "rgb": {
    "r": 134,
    "g": 78,
    "b": 214
  },
  "hsl": {
    "h": 264.706,
    "s": 62.385,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55784,
    "c": 0.19951,
    "h": 298.7
  },
  "luminance": 0.15372
}

Semantic roles & 50–950 ramp

primary
#864ED6
secondary
#C5DBA4
accent
#E542A2
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #864ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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