#8D66EC#8D66EC

#8D66EC is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.6% C 0.194 H 293.3°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8D66EC
RGBrgb(141, 102, 236)
HSLhsl(257, 78%, 66%)
HSVhsv(257, 57%, 93%)
CMYKcmyk(40.3%, 56.8%, 0%, 7.5%)
CIE-LABlab(53.19, 45.47, -62.53)
CIE-LCHlch(53.19, 77.31, 306.02°)
OKLaboklab(61.56% 0.0766 -0.1779)
OKLCHoklch(61.56% 0.194 293.3)
XYZxyz(30.8721, 21.2208, 81.8101)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D66EC #C5EC66
analogous
#6682EC #8D66EC #D066EC
triadic
#8D66EC #EC8D66 #66EC8D
tetradic
#8D66EC #EC6682 #C5EC66 #66ECD0
square
#8D66EC #EC6682 #C5EC66 #66ECD0
split-complementary
#8D66EC #ECD066 #82EC66
monochromatic
#4918C0 #6430E5 #8D66EC #B69CF3 #DED3FA

Accessibility & contrast

On white

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

On black

5.24
#8D66EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D66EC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D66EC#FFFFFF#000000##000000
##8D66EC1.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1781F0
Deuteranopia (green-blind)
#287DE9
Tritanopia (blue-blind)
#74839F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d66ec;
/* rgb */ color: rgb(141, 102, 236);
/* oklch */ color: oklch(61.6% 0.194 293.3);
Tailwind
colors: {
  custom: {
    50: '#b493f3',
    500: '#8d66ec',
    950: '#000000',
  },
}
SCSS
$custom: #8d66ec;
$custom-light: #b493f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d66ec",
  "rgb": {
    "r": 141,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 257.463,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61555,
    "c": 0.19366,
    "h": 293.3
  },
  "luminance": 0.21222
}

Semantic roles & 50–950 ramp

primary
#8D66EC
secondary
#E0EDC1
accent
#DA0B9E
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #8D66EC

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

Preview Lab → · Contrast checker → · Palette generator →

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