#866FD2#866FD2

#866FD2 is a mid, vivid violet. Relative luminance 0.211; OKLCH L 60.8% C 0.147 H 292.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#866FD2
RGBrgb(134, 111, 210)
HSLhsl(254, 52%, 63%)
HSVhsv(254, 47%, 82%)
CMYKcmyk(36.2%, 47.1%, 0%, 17.6%)
CIE-LABlab(53.05, 31.66, -48.14)
CIE-LCHlch(53.05, 57.61, 303.33°)
OKLaboklab(60.8% 0.0553 -0.1358)
OKLCHoklch(60.8% 0.147 292.2)
XYZxyz(27.1458, 21.0897, 63.6008)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866FD2 #BBD26F
analogous
#6F8AD2 #866FD2 #B76FD2
triadic
#866FD2 #D2866F #6FD286
tetradic
#866FD2 #D26F8A #BBD26F #6FD2B7
square
#866FD2 #D26F8A #BBD26F #6FD2B7
split-complementary
#866FD2 #D2B76F #8AD26F
monochromatic
#472F97 #5F40C3 #866FD2 #AD9EE1 #D4CCEF

Accessibility & contrast

On white

4.02
#866FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#866FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866FD2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866FD2#FFFFFF#000000##000000
##866FD21.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C80D6
Deuteranopia (green-blind)
#4F7DD0
Tritanopia (blue-blind)
#738296
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #866fd2;
/* rgb */ color: rgb(134, 111, 210);
/* oklch */ color: oklch(60.8% 0.147 292.2);
Tailwind
colors: {
  custom: {
    50: '#ac98e0',
    500: '#866fd2',
    950: '#000000',
  },
}
SCSS
$custom: #866fd2;
$custom-light: #ac98e0;
$custom-dark: #000000;
JSON
{
  "hex": "#866fd2",
  "rgb": {
    "r": 134,
    "g": 111,
    "b": 210
  },
  "hsl": {
    "h": 253.939,
    "s": 52.381,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60802,
    "c": 0.14669,
    "h": 292.2
  },
  "luminance": 0.2109
}

Semantic roles & 50–950 ramp

primary
#866FD2
secondary
#D8E0BD
accent
#C0269C
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #866FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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