#8D66CD#8D66CD

#8D66CD is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.6% C 0.155 H 299.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8D66CD
RGBrgb(141, 102, 205)
HSLhsl(263, 51%, 60%)
HSVhsv(263, 50%, 80%)
CMYKcmyk(31.2%, 50.2%, 0%, 19.6%)
CIE-LABlab(51.35, 37.37, -47.95)
CIE-LCHlch(51.35, 60.79, 307.93°)
OKLaboklab(59.6% 0.0753 -0.1351)
OKLCHoklch(59.6% 0.155 299.1)
XYZxyz(26.7527, 19.5730, 60.1143)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D66CD #A6CD66
analogous
#6673CD #8D66CD #C066CD
triadic
#8D66CD #CD8D66 #66CD8D
tetradic
#8D66CD #CD6673 #A6CD66 #66CDC0
square
#8D66CD #CD6673 #A6CD66 #66CDC0
split-complementary
#8D66CD #CDC066 #73CD66
monochromatic
#512D8B #6C3DB9 #8D66CD #AF94DC #D2C2EB

Accessibility & contrast

On white

4.27
#8D66CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D66CD#FFFFFF#000000##000000
##8D66CD1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#437AD1
Deuteranopia (green-blind)
#4C79CB
Tritanopia (blue-blind)
#807990
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d66cd;
/* rgb */ color: rgb(141, 102, 205);
/* oklch */ color: oklch(59.6% 0.155 299.1);
Tailwind
colors: {
  custom: {
    50: '#b192dd',
    500: '#8d66cd',
    950: '#000000',
  },
}
SCSS
$custom: #8d66cd;
$custom-light: #b192dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d66cd",
  "rgb": {
    "r": 141,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 262.718,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59602,
    "c": 0.15469,
    "h": 299.1
  },
  "luminance": 0.19573
}

Semantic roles & 50–950 ramp

primary
#8D66CD
secondary
#CCDBB4
accent
#BE2785
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8D66CD

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

Preview Lab → · Contrast checker → · Palette generator →

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