#8D66ED#8D66ED

#8D66ED is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.6% C 0.195 H 293.1°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8D66ED
RGBrgb(141, 102, 237)
HSLhsl(257, 79%, 66%)
HSVhsv(257, 57%, 93%)
CMYKcmyk(40.5%, 57%, 0%, 7.1%)
CIE-LABlab(53.25, 45.73, -62.99)
CIE-LCHlch(53.25, 77.84, 305.98°)
OKLaboklab(61.62% 0.0766 -0.1792)
OKLCHoklch(61.62% 0.195 293.1)
XYZxyz(31.0178, 21.2791, 82.5774)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D66ED #C6ED66
analogous
#6683ED #8D66ED #D066ED
triadic
#8D66ED #ED8D66 #66ED8D
tetradic
#8D66ED #ED6683 #C6ED66 #66EDD0
square
#8D66ED #ED6683 #C6ED66 #66EDD0
split-complementary
#8D66ED #EDD066 #83ED66
monochromatic
#4817C2 #642FE7 #8D66ED #B69DF3 #DFD4FA

Accessibility & contrast

On white

4.00
#8D66ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#8D66ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D66ED
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D66ED#FFFFFF#000000##000000
##8D66ED1.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1481F1
Deuteranopia (green-blind)
#267DEA
Tritanopia (blue-blind)
#7383A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d66ed;
/* rgb */ color: rgb(141, 102, 237);
/* oklch */ color: oklch(61.6% 0.195 293.1);
Tailwind
colors: {
  custom: {
    50: '#b493f4',
    500: '#8d66ed',
    950: '#000000',
  },
}
SCSS
$custom: #8d66ed;
$custom-light: #b493f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d66ed",
  "rgb": {
    "r": 141,
    "g": 102,
    "b": 237
  },
  "hsl": {
    "h": 257.333,
    "s": 78.947,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61621,
    "c": 0.1949,
    "h": 293.1
  },
  "luminance": 0.2128
}

Semantic roles & 50–950 ramp

primary
#8D66ED
secondary
#E1EDC2
accent
#DB0A9F
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #8D66ED

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

Preview Lab → · Contrast checker → · Palette generator →

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