#8B66EA#8B66EA

#8B66EA is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.2% C 0.191 H 292.8°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8B66EA
RGBrgb(139, 102, 234)
HSLhsl(257, 76%, 66%)
HSVhsv(257, 56%, 92%)
CMYKcmyk(40.6%, 56.4%, 0%, 8.2%)
CIE-LABlab(52.87, 44.49, -61.93)
CIE-LCHlch(52.87, 76.25, 305.69°)
OKLaboklab(61.24% 0.0741 -0.1762)
OKLCHoklch(61.24% 0.191 292.8)
XYZxyz(30.2461, 20.9314, 80.2725)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B66EA #C5EA66
analogous
#6683EA #8B66EA #CD66EA
triadic
#8B66EA #EA8B66 #66EA8B
tetradic
#8B66EA #EA6683 #C5EA66 #66EACD
square
#8B66EA #EA6683 #C5EA66 #66EACD
split-complementary
#8B66EA #EACD66 #83EA66
monochromatic
#471ABC #6230E3 #8B66EA #B49CF1 #DDD2F9

Accessibility & contrast

On white

4.05
#8B66EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#8B66EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B66EA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B66EA#FFFFFF#000000##000000
##8B66EA1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A80EE
Deuteranopia (green-blind)
#287CE7
Tritanopia (blue-blind)
#72829E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8b66ea;
/* rgb */ color: rgb(139, 102, 234);
/* oklch */ color: oklch(61.2% 0.191 292.8);
Tailwind
colors: {
  custom: {
    50: '#b293f1',
    500: '#8b66ea',
    950: '#000000',
  },
}
SCSS
$custom: #8b66ea;
$custom-light: #b293f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b66ea",
  "rgb": {
    "r": 139,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 256.818,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61237,
    "c": 0.1911,
    "h": 292.8
  },
  "luminance": 0.20932
}

Semantic roles & 50–950 ramp

primary
#8B66EA
secondary
#DFECC0
accent
#D80D9F
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8B66EA

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

Preview Lab → · Contrast checker → · Palette generator →

#8B66EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva