#866FF2#866FF2

#866FF2 is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.8% C 0.189 H 287.8°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#866FF2
RGBrgb(134, 111, 242)
HSLhsl(251, 83%, 69%)
HSVhsv(251, 54%, 95%)
CMYKcmyk(44.6%, 54.1%, 0%, 5.1%)
CIE-LABlab(54.91, 40.49, -63.13)
CIE-LCHlch(54.91, 75.00, 302.67°)
OKLaboklab(62.8% 0.0576 -0.1798)
OKLCHoklch(62.8% 0.189 287.8)
XYZxyz(31.5384, 22.8468, 86.7353)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866FF2 #DBF26F
analogous
#6F9AF2 #866FF2 #C76FF2
triadic
#866FF2 #F2866F #6FF286
tetradic
#866FF2 #F26F9A #DBF26F #6FF2C7
square
#866FF2 #F26F9A #DBF26F #6FF2C7
split-complementary
#866FF2 #F2C76F #9AF26F
monochromatic
#3513D4 #5737ED #866FF2 #B5A7F7 #E4DFFC

Accessibility & contrast

On white

3.77
#866FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#866FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866FF2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866FF2#FFFFFF#000000##000000
##866FF21.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2987F6
Deuteranopia (green-blind)
#2980EF
Tritanopia (blue-blind)
#648CA6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #866ff2;
/* rgb */ color: rgb(134, 111, 242);
/* oklch */ color: oklch(62.8% 0.189 287.8);
Tailwind
colors: {
  custom: {
    50: '#af99f7',
    500: '#866ff2',
    950: '#000000',
  },
}
SCSS
$custom: #866ff2;
$custom-light: #af99f7;
$custom-dark: #000000;
JSON
{
  "hex": "#866ff2",
  "rgb": {
    "r": 134,
    "g": 111,
    "b": 242
  },
  "hsl": {
    "h": 250.534,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.62797,
    "c": 0.18885,
    "h": 287.8
  },
  "luminance": 0.22848
}

Semantic roles & 50–950 ramp

primary
#866FF2
secondary
#EBF1CB
accent
#E006BA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #866FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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