#866FDF#866FDF

#866FDF is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.6% C 0.164 H 290.2°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#866FDF
RGBrgb(134, 111, 223)
HSLhsl(252, 64%, 65%)
HSVhsv(252, 50%, 87%)
CMYKcmyk(39.9%, 50.2%, 0%, 12.5%)
CIE-LABlab(53.78, 35.20, -54.33)
CIE-LCHlch(53.78, 64.73, 302.94°)
OKLaboklab(61.58% 0.0566 -0.154)
OKLCHoklch(61.58% 0.164 290.2)
XYZxyz(28.8316, 21.7641, 72.4795)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866FDF #C8DF6F
analogous
#6F90DF #866FDF #BE6FDF
triadic
#866FDF #DF866F #6FDF86
tetradic
#866FDF #DF6F90 #C8DF6F #6FDFBE
square
#866FDF #DF6F90 #C8DF6F #6FDFBE
split-complementary
#866FDF #DFBE6F #90DF6F
monochromatic
#4226AD #5C3DD4 #866FDF #B0A1EA #DAD3F5

Accessibility & contrast

On white

3.92
#866FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#866FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866FDF
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866FDF#FFFFFF#000000##000000
##866FDF1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4183E3
Deuteranopia (green-blind)
#437EDC
Tritanopia (blue-blind)
#6E869D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #866fdf;
/* rgb */ color: rgb(134, 111, 223);
/* oklch */ color: oklch(61.6% 0.164 290.2);
Tailwind
colors: {
  custom: {
    50: '#ae99e9',
    500: '#866fdf',
    950: '#000000',
  },
}
SCSS
$custom: #866fdf;
$custom-light: #ae99e9;
$custom-dark: #000000;
JSON
{
  "hex": "#866fdf",
  "rgb": {
    "r": 134,
    "g": 111,
    "b": 223
  },
  "hsl": {
    "h": 252.321,
    "s": 63.636,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61583,
    "c": 0.16405,
    "h": 290.2
  },
  "luminance": 0.21765
}

Semantic roles & 50–950 ramp

primary
#866FDF
secondary
#E0E8C2
accent
#CB1AA7
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #866FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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