#866FE3#866FE3

#866FE3 is a mid, vivid violet. Relative luminance 0.220; OKLCH L 61.8% C 0.169 H 289.6°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#866FE3
RGBrgb(134, 111, 227)
HSLhsl(252, 67%, 66%)
HSVhsv(252, 51%, 89%)
CMYKcmyk(41%, 51.1%, 0%, 11%)
CIE-LABlab(54.01, 36.30, -56.20)
CIE-LCHlch(54.01, 66.91, 302.86°)
OKLaboklab(61.83% 0.0569 -0.1595)
OKLCHoklch(61.83% 0.169 289.6)
XYZxyz(29.3772, 21.9823, 75.3533)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866FE3 #CCE36F
analogous
#6F92E3 #866FE3 #C06FE3
triadic
#866FE3 #E3866F #6FE386
tetradic
#866FE3 #E36F92 #CCE36F #6FE3C0
square
#866FE3 #E36F92 #CCE36F #6FE3C0
split-complementary
#866FE3 #E3C06F #92E36F
monochromatic
#4023B5 #5B3CD9 #866FE3 #B1A2ED #DCD5F7

Accessibility & contrast

On white

3.89
#866FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#866FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866FE3
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866FE3#FFFFFF#000000##000000
##866FE31.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D83E7
Deuteranopia (green-blind)
#3F7EE0
Tritanopia (blue-blind)
#6C879F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #866fe3;
/* rgb */ color: rgb(134, 111, 227);
/* oklch */ color: oklch(61.8% 0.169 289.6);
Tailwind
colors: {
  custom: {
    50: '#ae99ec',
    500: '#866fe3',
    950: '#000000',
  },
}
SCSS
$custom: #866fe3;
$custom-light: #ae99ec;
$custom-dark: #000000;
JSON
{
  "hex": "#866fe3",
  "rgb": {
    "r": 134,
    "g": 111,
    "b": 227
  },
  "hsl": {
    "h": 251.897,
    "s": 67.442,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61832,
    "c": 0.16933,
    "h": 289.6
  },
  "luminance": 0.21983
}

Semantic roles & 50–950 ramp

primary
#866FE3
secondary
#E2EAC4
accent
#CF16AB
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #866FE3

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

Preview Lab → · Contrast checker → · Palette generator →

#866FE3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva