#8D66E6#8D66E6

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

Color values

HEX#8D66E6
RGBrgb(141, 102, 230)
HSLhsl(258, 72%, 65%)
HSVhsv(258, 56%, 90%)
CMYKcmyk(38.7%, 55.7%, 0%, 9.8%)
CIE-LABlab(52.82, 43.87, -59.77)
CIE-LCHlch(52.82, 74.14, 306.28°)
OKLaboklab(61.16% 0.0766 -0.1698)
OKLCHoklch(61.16% 0.186 294.3)
XYZxyz(30.0150, 20.8780, 77.2960)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D66E6 #BFE666
analogous
#667FE6 #8D66E6 #CD66E6
triadic
#8D66E6 #E68D66 #66E68D
tetradic
#8D66E6 #E6667F #BFE666 #66E6CD
square
#8D66E6 #E6667F #BFE666 #66E6CD
split-complementary
#8D66E6 #E6CD66 #7FE666
monochromatic
#4B1DB4 #6631DD #8D66E6 #B49BEF #DBCFF7

Accessibility & contrast

On white

4.06
#8D66E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#8D66E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D66E6
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D66E6#FFFFFF#000000##000000
##8D66E61.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#257FEA
Deuteranopia (green-blind)
#327CE3
Tritanopia (blue-blind)
#76819C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d66e6;
/* rgb */ color: rgb(141, 102, 230);
/* oklch */ color: oklch(61.2% 0.186 294.3);
Tailwind
colors: {
  custom: {
    50: '#b393ef',
    500: '#8d66e6',
    950: '#000000',
  },
}
SCSS
$custom: #8d66e6;
$custom-light: #b393ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8d66e6",
  "rgb": {
    "r": 141,
    "g": 102,
    "b": 230
  },
  "hsl": {
    "h": 258.281,
    "s": 71.91,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61159,
    "c": 0.18623,
    "h": 294.3
  },
  "luminance": 0.20879
}

Semantic roles & 50–950 ramp

primary
#8D66E6
secondary
#DCEABE
accent
#D41299
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8D66E6

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

Preview Lab → · Contrast checker → · Palette generator →

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