#866BCA#866BCA

#866BCA is a mid, vivid violet. Relative luminance 0.198; OKLCH L 59.6% C 0.142 H 294.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#866BCA
RGBrgb(134, 107, 202)
HSLhsl(257, 47%, 61%)
HSVhsv(257, 47%, 79%)
CMYKcmyk(33.7%, 47%, 0%, 20.8%)
CIE-LABlab(51.66, 31.86, -45.78)
CIE-LCHlch(51.66, 55.78, 304.84°)
OKLaboklab(59.62% 0.0596 -0.1289)
OKLCHoklch(59.62% 0.142 294.8)
XYZxyz(25.7472, 19.8475, 58.3401)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866BCA #AFCA6B
analogous
#6B7FCA #866BCA #B66BCA
triadic
#866BCA #CA866B #6BCA86
tetradic
#866BCA #CA6B7F #AFCA6B #6BCAB6
square
#866BCA #CA6B7F #AFCA6B #6BCAB6
split-complementary
#866BCA #CAB66B #7FCA6B
monochromatic
#4A3189 #6341B6 #866BCA #AB98DA #D0C5EA

Accessibility & contrast

On white

4.23
#866BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#866BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866BCA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866BCA#FFFFFF#000000##000000
##866BCA1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7CCD
Deuteranopia (green-blind)
#507AC8
Tritanopia (blue-blind)
#767D91
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #866bca;
/* rgb */ color: rgb(134, 107, 202);
/* oklch */ color: oklch(59.6% 0.142 294.8);
Tailwind
colors: {
  custom: {
    50: '#ac96da',
    500: '#866bca',
    950: '#000000',
  },
}
SCSS
$custom: #866bca;
$custom-light: #ac96da;
$custom-dark: #000000;
JSON
{
  "hex": "#866bca",
  "rgb": {
    "r": 134,
    "g": 107,
    "b": 202
  },
  "hsl": {
    "h": 257.053,
    "s": 47.264,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59623,
    "c": 0.14207,
    "h": 294.8
  },
  "luminance": 0.19848
}

Semantic roles & 50–950 ramp

primary
#866BCA
secondary
#D0DAB6
accent
#BB2B92
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #866BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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