#8B66DC#8B66DC

#8B66DC is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.3% C 0.174 H 295.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8B66DC
RGBrgb(139, 102, 220)
HSLhsl(259, 63%, 63%)
HSVhsv(259, 54%, 86%)
CMYKcmyk(36.8%, 53.6%, 0%, 13.7%)
CIE-LABlab(52.02, 40.76, -55.42)
CIE-LCHlch(52.02, 68.80, 306.33°)
OKLaboklab(60.33% 0.0738 -0.1571)
OKLCHoklch(60.33% 0.174 295.2)
XYZxyz(28.3138, 20.1585, 70.0955)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B66DC #B7DC66
analogous
#667CDC #8B66DC #C666DC
triadic
#8B66DC #DC8B66 #66DC8B
tetradic
#8B66DC #DC667C #B7DC66 #66DCC6
square
#8B66DC #DC667C #B7DC66 #66DCC6
split-complementary
#8B66DC #DCC666 #7CDC66
monochromatic
#4C25A2 #6534D1 #8B66DC #B198E7 #D7CAF3

Accessibility & contrast

On white

4.17
#8B66DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#8B66DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B66DC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B66DC#FFFFFF#000000##000000
##8B66DC1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#337DE0
Deuteranopia (green-blind)
#3D7AD9
Tritanopia (blue-blind)
#777E97
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8b66dc;
/* rgb */ color: rgb(139, 102, 220);
/* oklch */ color: oklch(60.3% 0.174 295.2);
Tailwind
colors: {
  custom: {
    50: '#b193e7',
    500: '#8b66dc',
    950: '#000000',
  },
}
SCSS
$custom: #8b66dc;
$custom-light: #b193e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b66dc",
  "rgb": {
    "r": 139,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 258.814,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60328,
    "c": 0.17353,
    "h": 295.2
  },
  "luminance": 0.20159
}

Semantic roles & 50–950 ramp

primary
#8B66DC
secondary
#D7E4BA
accent
#CB1B93
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8B66DC

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

Preview Lab → · Contrast checker → · Palette generator →

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