#806ECB#806ECB

#806ECB is a mid, vivid violet. Relative luminance 0.201; OKLCH L 59.7% C 0.139 H 290.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#806ECB
RGBrgb(128, 110, 203)
HSLhsl(252, 47%, 61%)
HSVhsv(252, 46%, 80%)
CMYKcmyk(36.9%, 45.8%, 0%, 20.4%)
CIE-LABlab(51.90, 28.79, -46.02)
CIE-LCHlch(51.90, 54.28, 302.03°)
OKLaboklab(59.68% 0.0485 -0.1298)
OKLCHoklch(59.68% 0.139 290.5)
XYZxyz(25.2546, 20.0522, 59.0282)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806ECB #B9CB6E
analogous
#6E8BCB #806ECB #AF6ECB
triadic
#806ECB #CB806E #6ECB80
tetradic
#806ECB #CB6E8B #B9CB6E #6ECBAF
square
#806ECB #CB6E8B #B9CB6E #6ECBAF
split-complementary
#806ECB #CBAF6E #8BCB6E
monochromatic
#44328C #5942B9 #806ECB #A79BDB #CFC8EB

Accessibility & contrast

On white

4.19
#806ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#806ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #806ECB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##806ECB#FFFFFF#000000##000000
##806ECB1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7DCE
Deuteranopia (green-blind)
#4F7AC9
Tritanopia (blue-blind)
#6D8093
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #806ecb;
/* rgb */ color: rgb(128, 110, 203);
/* oklch */ color: oklch(59.7% 0.139 290.5);
Tailwind
colors: {
  custom: {
    50: '#a898db',
    500: '#806ecb',
    950: '#000000',
  },
}
SCSS
$custom: #806ecb;
$custom-light: #a898db;
$custom-dark: #000000;
JSON
{
  "hex": "#806ecb",
  "rgb": {
    "r": 128,
    "g": 110,
    "b": 203
  },
  "hsl": {
    "h": 251.613,
    "s": 47.208,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59684,
    "c": 0.13855,
    "h": 290.5
  },
  "luminance": 0.20053
}

Semantic roles & 50–950 ramp

primary
#806ECB
secondary
#D5DCB9
accent
#BA2B9F
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #806ECB

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

Preview Lab → · Contrast checker → · Palette generator →

#806ECB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva