#8D66E9#8D66E9

#8D66E9 is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.4% C 0.190 H 293.8°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8D66E9
RGBrgb(141, 102, 233)
HSLhsl(258, 75%, 66%)
HSVhsv(258, 56%, 91%)
CMYKcmyk(39.5%, 56.2%, 0%, 8.6%)
CIE-LABlab(53.00, 44.67, -61.15)
CIE-LCHlch(53.00, 75.73, 306.15°)
OKLaboklab(61.36% 0.0766 -0.1738)
OKLCHoklch(61.36% 0.19 293.8)
XYZxyz(30.4399, 21.0479, 79.5339)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D66E9 #C2E966
analogous
#6680E9 #8D66E9 #CF66E9
triadic
#8D66E9 #E98D66 #66E98D
tetradic
#8D66E9 #E96680 #C2E966 #66E9CF
square
#8D66E9 #E96680 #C2E966 #66E9CF
split-complementary
#8D66E9 #E9CF66 #80E966
monochromatic
#4A1BBA #6530E1 #8D66E9 #B59CF1 #DDD1F8

Accessibility & contrast

On white

4.03
#8D66E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#8D66E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D66E9
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D66E9#FFFFFF#000000##000000
##8D66E91.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F80ED
Deuteranopia (green-blind)
#2D7CE6
Tritanopia (blue-blind)
#75829E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d66e9;
/* rgb */ color: rgb(141, 102, 233);
/* oklch */ color: oklch(61.4% 0.190 293.8);
Tailwind
colors: {
  custom: {
    50: '#b393f1',
    500: '#8d66e9',
    950: '#000000',
  },
}
SCSS
$custom: #8d66e9;
$custom-light: #b393f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d66e9",
  "rgb": {
    "r": 141,
    "g": 102,
    "b": 233
  },
  "hsl": {
    "h": 257.863,
    "s": 74.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61356,
    "c": 0.18995,
    "h": 293.8
  },
  "luminance": 0.21049
}

Semantic roles & 50–950 ramp

primary
#8D66E9
secondary
#DEEBC0
accent
#D70E9B
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8D66E9

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

Preview Lab → · Contrast checker → · Palette generator →

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