#8D66CC#8D66CC

#8D66CC is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.5% C 0.153 H 299.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8D66CC
RGBrgb(141, 102, 204)
HSLhsl(263, 50%, 60%)
HSVhsv(263, 50%, 80%)
CMYKcmyk(30.9%, 50%, 0%, 20%)
CIE-LABlab(51.30, 37.12, -47.47)
CIE-LCHlch(51.30, 60.26, 308.02°)
OKLaboklab(59.54% 0.0752 -0.1337)
OKLCHoklch(59.54% 0.153 299.4)
XYZxyz(26.6324, 19.5249, 59.4806)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D66CC #A5CC66
analogous
#6672CC #8D66CC #C066CC
triadic
#8D66CC #CC8D66 #66CC8D
tetradic
#8D66CC #CC6672 #A5CC66 #66CCC0
square
#8D66CC #CC6672 #A5CC66 #66CCC0
split-complementary
#8D66CC #CCC066 #72CC66
monochromatic
#512E8A #6C3DB8 #8D66CC #AF94DB #D1C2EB

Accessibility & contrast

On white

4.28
#8D66CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#8D66CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D66CC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D66CC#FFFFFF#000000##000000
##8D66CC1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#437AD0
Deuteranopia (green-blind)
#4D79CA
Tritanopia (blue-blind)
#80798F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d66cc;
/* rgb */ color: rgb(141, 102, 204);
/* oklch */ color: oklch(59.5% 0.153 299.4);
Tailwind
colors: {
  custom: {
    50: '#b192dc',
    500: '#8d66cc',
    950: '#000000',
  },
}
SCSS
$custom: #8d66cc;
$custom-light: #b192dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d66cc",
  "rgb": {
    "r": 141,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 262.941,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.59543,
    "c": 0.15341,
    "h": 299.4
  },
  "luminance": 0.19525
}

Semantic roles & 50–950 ramp

primary
#8D66CC
secondary
#CCDBB3
accent
#DA4EA4
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8D66CC

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

Preview Lab → · Contrast checker → · Palette generator →

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