#866EC8#866EC8

#866EC8 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.0% C 0.135 H 294.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#866EC8
RGBrgb(134, 110, 200)
HSLhsl(256, 45%, 61%)
HSVhsv(256, 45%, 78%)
CMYKcmyk(33%, 45%, 0%, 21.6%)
CIE-LABlab(52.28, 29.58, -43.67)
CIE-LCHlch(52.28, 52.74, 304.11°)
OKLaboklab(60.05% 0.0553 -0.1228)
OKLCHoklch(60.05% 0.135 294.3)
XYZxyz(25.8301, 20.3899, 57.2071)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866EC8 #B0C86E
analogous
#6E83C8 #866EC8 #B36EC8
triadic
#866EC8 #C8866E #6EC886
tetradic
#866EC8 #C86E83 #B0C86E #6EC8B3
square
#866EC8 #C86E83 #B0C86E #6EC8B3
split-complementary
#866EC8 #C8B36E #83C86E
monochromatic
#4A3488 #6244B4 #866EC8 #AB9AD9 #D0C7EA

Accessibility & contrast

On white

4.14
#866EC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#866EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866EC8
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866EC8#FFFFFF#000000##000000
##866EC81.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#517ECB
Deuteranopia (green-blind)
#557BC6
Tritanopia (blue-blind)
#777F91
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #866ec8;
/* rgb */ color: rgb(134, 110, 200);
/* oklch */ color: oklch(60.0% 0.135 294.3);
Tailwind
colors: {
  custom: {
    50: '#ac98d9',
    500: '#866ec8',
    950: '#000000',
  },
}
SCSS
$custom: #866ec8;
$custom-light: #ac98d9;
$custom-dark: #000000;
JSON
{
  "hex": "#866ec8",
  "rgb": {
    "r": 134,
    "g": 110,
    "b": 200
  },
  "hsl": {
    "h": 256,
    "s": 45,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60048,
    "c": 0.13468,
    "h": 294.3
  },
  "luminance": 0.2039
}

Semantic roles & 50–950 ramp

primary
#866EC8
secondary
#D1DAB8
accent
#B82D93
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #866EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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