#866FE7#866FE7

#866FE7 is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.1% C 0.175 H 289.1°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#866FE7
RGBrgb(134, 111, 231)
HSLhsl(252, 71%, 67%)
HSVhsv(252, 52%, 91%)
CMYKcmyk(42%, 51.9%, 0%, 9.4%)
CIE-LABlab(54.24, 37.41, -58.07)
CIE-LCHlch(54.24, 69.08, 302.79°)
OKLaboklab(62.08% 0.0572 -0.165)
OKLCHoklch(62.08% 0.175 289.1)
XYZxyz(29.9357, 22.2057, 78.2947)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866FE7 #D0E76F
analogous
#6F94E7 #866FE7 #C26FE7
triadic
#866FE7 #E7866F #6FE786
tetradic
#866FE7 #E76F94 #D0E76F #6FE7C2
square
#866FE7 #E76F94 #D0E76F #6FE7C2
split-complementary
#866FE7 #E7C26F #94E76F
monochromatic
#3D1FBC #5A3BDE #866FE7 #B2A3F0 #DED8F8

Accessibility & contrast

On white

3.86
#866FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#866FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866FE7
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866FE7#FFFFFF#000000##000000
##866FE71.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3884EB
Deuteranopia (green-blind)
#3A7FE4
Tritanopia (blue-blind)
#6A88A0
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #866fe7;
/* rgb */ color: rgb(134, 111, 231);
/* oklch */ color: oklch(62.1% 0.175 289.1);
Tailwind
colors: {
  custom: {
    50: '#ae99ef',
    500: '#866fe7',
    950: '#000000',
  },
}
SCSS
$custom: #866fe7;
$custom-light: #ae99ef;
$custom-dark: #000000;
JSON
{
  "hex": "#866fe7",
  "rgb": {
    "r": 134,
    "g": 111,
    "b": 231
  },
  "hsl": {
    "h": 251.5,
    "s": 71.429,
    "l": 67.059
  },
  "oklch": {
    "l": 0.62084,
    "c": 0.17458,
    "h": 289.1
  },
  "luminance": 0.22207
}

Semantic roles & 50–950 ramp

primary
#866FE7
secondary
#E5ECC6
accent
#D312AE
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #866FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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