#866FA2#866FA2

#866FA2 is a mid, moderate violet. Relative luminance 0.190; OKLCH L 58.3% C 0.081 H 304.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#866FA2
RGBrgb(134, 111, 162)
HSLhsl(267, 22%, 54%)
HSVhsv(267, 31%, 64%)
CMYKcmyk(17.3%, 31.5%, 0%, 36.5%)
CIE-LABlab(50.74, 19.49, -24.10)
CIE-LCHlch(50.74, 31.00, 308.95°)
OKLaboklab(58.3% 0.0459 -0.0663)
OKLCHoklch(58.3% 0.081 304.7)
XYZxyz(22.0362, 19.0459, 36.6907)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866FA2 #8BA26F
analogous
#6F71A2 #866FA2 #9F6FA2
triadic
#866FA2 #A2866F #6FA286
tetradic
#866FA2 #A26F71 #8BA26F #6FA29F
square
#866FA2 #A26F71 #8BA26F #6FA29F
split-complementary
#866FA2 #A29F6F #71A26F
monochromatic
#4A3B5C #685381 #866FA2 #A594BA #C4B9D2

Accessibility & contrast

On white

4.37
#866FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#866FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866FA2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866FA2#FFFFFF#000000##000000
##866FA21.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6578A4
Deuteranopia (green-blind)
#6979A1
Tritanopia (blue-blind)
#827681
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #866fa2;
/* rgb */ color: rgb(134, 111, 162);
/* oklch */ color: oklch(58.3% 0.081 304.7);
Tailwind
colors: {
  custom: {
    50: '#aa98bd',
    500: '#866fa2',
    950: '#000000',
  },
}
SCSS
$custom: #866fa2;
$custom-light: #aa98bd;
$custom-dark: #000000;
JSON
{
  "hex": "#866fa2",
  "rgb": {
    "r": 134,
    "g": 111,
    "b": 162
  },
  "hsl": {
    "h": 267.059,
    "s": 21.519,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58299,
    "c": 0.08063,
    "h": 304.7
  },
  "luminance": 0.19046
}

Semantic roles & 50–950 ramp

primary
#866FA2
secondary
#B7C1AB
accent
#BE6A98
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #866FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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