#866FCB#866FCB

#866FCB is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.4% C 0.137 H 293.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#866FCB
RGBrgb(134, 111, 203)
HSLhsl(255, 47%, 62%)
HSVhsv(255, 45%, 80%)
CMYKcmyk(34%, 45.3%, 0%, 20.4%)
CIE-LABlab(52.67, 29.78, -44.75)
CIE-LCHlch(52.67, 53.76, 303.65°)
OKLaboklab(60.4% 0.0544 -0.1259)
OKLCHoklch(60.4% 0.137 293.4)
XYZxyz(26.2927, 20.7485, 59.1079)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866FCB #B4CB6F
analogous
#6F86CB #866FCB #B46FCB
triadic
#866FCB #CB866F #6FCB86
tetradic
#866FCB #CB6F86 #B4CB6F #6FCBB4
square
#866FCB #CB6F86 #B4CB6F #6FCBB4
split-complementary
#866FCB #CBB46F #86CB6F
monochromatic
#49338D #6143BA #866FCB #AC9CDB #D2C9EB

Accessibility & contrast

On white

4.08
#866FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#866FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866FCB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866FCB#FFFFFF#000000##000000
##866FCB1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#517FCE
Deuteranopia (green-blind)
#547CC9
Tritanopia (blue-blind)
#768093
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #866fcb;
/* rgb */ color: rgb(134, 111, 203);
/* oklch */ color: oklch(60.4% 0.137 293.4);
Tailwind
colors: {
  custom: {
    50: '#ac98db',
    500: '#866fcb',
    950: '#000000',
  },
}
SCSS
$custom: #866fcb;
$custom-light: #ac98db;
$custom-dark: #000000;
JSON
{
  "hex": "#866fcb",
  "rgb": {
    "r": 134,
    "g": 111,
    "b": 203
  },
  "hsl": {
    "h": 255,
    "s": 46.939,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60399,
    "c": 0.1372,
    "h": 293.4
  },
  "luminance": 0.20749
}

Semantic roles & 50–950 ramp

primary
#866FCB
secondary
#D3DCBA
accent
#BA2B96
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #866FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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