#8D66DB#8D66DB

#8D66DB is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.5% C 0.172 H 296.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8D66DB
RGBrgb(141, 102, 219)
HSLhsl(260, 62%, 63%)
HSVhsv(260, 53%, 86%)
CMYKcmyk(35.6%, 53.4%, 0%, 14.1%)
CIE-LABlab(52.15, 40.98, -54.63)
CIE-LCHlch(52.15, 68.29, 306.87°)
OKLaboklab(60.46% 0.0763 -0.1547)
OKLCHoklch(60.46% 0.172 296.2)
XYZxyz(28.5188, 20.2795, 69.4159)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D66DB #B4DB66
analogous
#6679DB #8D66DB #C766DB
triadic
#8D66DB #DB8D66 #66DB8D
tetradic
#8D66DB #DB6679 #B4DB66 #66DBC7
square
#8D66DB #DB6679 #B4DB66 #66DBC7
split-complementary
#8D66DB #DBC766 #79DB66
monochromatic
#4F26A1 #6834CF #8D66DB #B298E7 #D7C9F2

Accessibility & contrast

On white

4.15
#8D66DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#8D66DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D66DB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D66DB#FFFFFF#000000##000000
##8D66DB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#357DDF
Deuteranopia (green-blind)
#407BD8
Tritanopia (blue-blind)
#7B7E97
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d66db;
/* rgb */ color: rgb(141, 102, 219);
/* oklch */ color: oklch(60.5% 0.172 296.2);
Tailwind
colors: {
  custom: {
    50: '#b293e7',
    500: '#8d66db',
    950: '#000000',
  },
}
SCSS
$custom: #8d66db;
$custom-light: #b293e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d66db",
  "rgb": {
    "r": 141,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 260,
    "s": 61.905,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60455,
    "c": 0.17245,
    "h": 296.2
  },
  "luminance": 0.2028
}

Semantic roles & 50–950 ramp

primary
#8D66DB
secondary
#D5E3B9
accent
#CA1C90
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8D66DB

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

Preview Lab → · Contrast checker → · Palette generator →

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