#8D66D7#8D66D7

#8D66D7 is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.2% C 0.167 H 297.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8D66D7
RGBrgb(141, 102, 215)
HSLhsl(261, 59%, 62%)
HSVhsv(261, 53%, 84%)
CMYKcmyk(34.4%, 52.6%, 0%, 15.7%)
CIE-LABlab(51.92, 39.94, -52.74)
CIE-LCHlch(51.92, 66.15, 307.14°)
OKLaboklab(60.21% 0.076 -0.1491)
OKLCHoklch(60.21% 0.167 297)
XYZxyz(27.9986, 20.0714, 66.6759)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D66D7 #B0D766
analogous
#6678D7 #8D66D7 #C666D7
triadic
#8D66D7 #D78D66 #66D78D
tetradic
#8D66D7 #D76678 #B0D766 #66D7C6
square
#8D66D7 #D76678 #B0D766 #66D7C6
split-complementary
#8D66D7 #D7C666 #78D766
monochromatic
#50289A #6935CA #8D66D7 #B197E4 #D5C7F0

Accessibility & contrast

On white

4.19
#8D66D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#8D66D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D66D7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D66D7#FFFFFF#000000##000000
##8D66D71.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#397CDB
Deuteranopia (green-blind)
#447AD4
Tritanopia (blue-blind)
#7C7C95
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d66d7;
/* rgb */ color: rgb(141, 102, 215);
/* oklch */ color: oklch(60.2% 0.167 297.0);
Tailwind
colors: {
  custom: {
    50: '#b293e4',
    500: '#8d66d7',
    950: '#000000',
  },
}
SCSS
$custom: #8d66d7;
$custom-light: #b293e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d66d7",
  "rgb": {
    "r": 141,
    "g": 102,
    "b": 215
  },
  "hsl": {
    "h": 260.708,
    "s": 58.549,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60206,
    "c": 0.1674,
    "h": 297
  },
  "luminance": 0.20072
}

Semantic roles & 50–950 ramp

primary
#8D66D7
secondary
#D3E1B8
accent
#C61F8D
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8D66D7

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

Preview Lab → · Contrast checker → · Palette generator →

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