#866BC8#866BC8

#866BC8 is a mid, vivid violet. Relative luminance 0.198; OKLCH L 59.5% C 0.139 H 295.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#866BC8
RGBrgb(134, 107, 200)
HSLhsl(257, 46%, 60%)
HSVhsv(257, 47%, 78%)
CMYKcmyk(33%, 46.5%, 0%, 21.6%)
CIE-LABlab(51.56, 31.34, -44.81)
CIE-LCHlch(51.56, 54.68, 304.97°)
OKLaboklab(59.51% 0.0594 -0.1261)
OKLCHoklch(59.51% 0.139 295.2)
XYZxyz(25.5119, 19.7534, 57.1011)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866BC8 #ADC86B
analogous
#6B7FC8 #866BC8 #B46BC8
triadic
#866BC8 #C8866B #6BC886
tetradic
#866BC8 #C86B7F #ADC86B #6BC8B4
square
#866BC8 #C86B7F #ADC86B #6BC8B4
split-complementary
#866BC8 #C8B46B #7FC86B
monochromatic
#4B3287 #6343B3 #866BC8 #AA98D9 #CFC4E9

Accessibility & contrast

On white

4.24
#866BC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#866BC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866BC8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866BC8#FFFFFF#000000##000000
##866BC81.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7CCB
Deuteranopia (green-blind)
#517AC6
Tritanopia (blue-blind)
#777D90
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #866bc8;
/* rgb */ color: rgb(134, 107, 200);
/* oklch */ color: oklch(59.5% 0.139 295.2);
Tailwind
colors: {
  custom: {
    50: '#ac96d9',
    500: '#866bc8',
    950: '#000000',
  },
}
SCSS
$custom: #866bc8;
$custom-light: #ac96d9;
$custom-dark: #000000;
JSON
{
  "hex": "#866bc8",
  "rgb": {
    "r": 134,
    "g": 107,
    "b": 200
  },
  "hsl": {
    "h": 257.419,
    "s": 45.813,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59508,
    "c": 0.13939,
    "h": 295.2
  },
  "luminance": 0.19754
}

Semantic roles & 50–950 ramp

primary
#866BC8
secondary
#CFD9B6
accent
#B92C90
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #866BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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