#866BE3#866BE3

#866BE3 is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.1% C 0.175 H 290.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#866BE3
RGBrgb(134, 107, 227)
HSLhsl(254, 68%, 65%)
HSVhsv(254, 53%, 89%)
CMYKcmyk(41%, 52.9%, 0%, 11%)
CIE-LABlab(53.09, 38.61, -57.67)
CIE-LCHlch(53.09, 69.41, 303.80°)
OKLaboklab(61.15% 0.0617 -0.1638)
OKLCHoklch(61.15% 0.175 290.6)
XYZxyz(28.9505, 21.1289, 75.2111)
Luminance0.2113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866BE3 #C8E36B
analogous
#6B8CE3 #866BE3 #C26BE3
triadic
#866BE3 #E3866B #6BE386
tetradic
#866BE3 #E36B8C #C8E36B #6BE3C2
square
#866BE3 #E36B8C #C8E36B #6BE3C2
split-complementary
#866BE3 #E3C26B #8CE36B
monochromatic
#4222B2 #5C38D9 #866BE3 #B09EED #DAD2F6

Accessibility & contrast

On white

4.02
#866BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#866BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866BE3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866BE3#FFFFFF#000000##000000
##866BE31.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3381E7
Deuteranopia (green-blind)
#387CE0
Tritanopia (blue-blind)
#6C849D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #866be3;
/* rgb */ color: rgb(134, 107, 227);
/* oklch */ color: oklch(61.1% 0.175 290.6);
Tailwind
colors: {
  custom: {
    50: '#ae96ec',
    500: '#866be3',
    950: '#000000',
  },
}
SCSS
$custom: #866be3;
$custom-light: #ae96ec;
$custom-dark: #000000;
JSON
{
  "hex": "#866be3",
  "rgb": {
    "r": 134,
    "g": 107,
    "b": 227
  },
  "hsl": {
    "h": 253.5,
    "s": 68.182,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61148,
    "c": 0.17506,
    "h": 290.6
  },
  "luminance": 0.2113
}

Semantic roles & 50–950 ramp

primary
#866BE3
secondary
#E0E9C1
accent
#D015A6
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #866BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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