#8D66D8#8D66D8

#8D66D8 is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.3% C 0.169 H 296.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8D66D8
RGBrgb(141, 102, 216)
HSLhsl(261, 59%, 62%)
HSVhsv(261, 53%, 85%)
CMYKcmyk(34.7%, 52.8%, 0%, 15.3%)
CIE-LABlab(51.98, 40.20, -53.21)
CIE-LCHlch(51.98, 66.69, 307.07°)
OKLaboklab(60.27% 0.0761 -0.1505)
OKLCHoklch(60.27% 0.169 296.8)
XYZxyz(28.1274, 20.1229, 67.3546)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D66D8 #B1D866
analogous
#6678D8 #8D66D8 #C666D8
triadic
#8D66D8 #D88D66 #66D88D
tetradic
#8D66D8 #D86678 #B1D866 #66D8C6
square
#8D66D8 #D86678 #B1D866 #66D8C6
split-complementary
#8D66D8 #D8C666 #78D866
monochromatic
#4F289C #6935CC #8D66D8 #B197E4 #D6C8F1

Accessibility & contrast

On white

4.18
#8D66D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#8D66D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D66D8
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D66D8#FFFFFF#000000##000000
##8D66D81.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#387CDC
Deuteranopia (green-blind)
#437BD5
Tritanopia (blue-blind)
#7C7D95
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d66d8;
/* rgb */ color: rgb(141, 102, 216);
/* oklch */ color: oklch(60.3% 0.169 296.8);
Tailwind
colors: {
  custom: {
    50: '#b293e5',
    500: '#8d66d8',
    950: '#000000',
  },
}
SCSS
$custom: #8d66d8;
$custom-light: #b293e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d66d8",
  "rgb": {
    "r": 141,
    "g": 102,
    "b": 216
  },
  "hsl": {
    "h": 260.526,
    "s": 59.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60268,
    "c": 0.16866,
    "h": 296.8
  },
  "luminance": 0.20123
}

Semantic roles & 50–950 ramp

primary
#8D66D8
secondary
#D3E2B8
accent
#C71E8D
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8D66D8

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

Preview Lab → · Contrast checker → · Palette generator →

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