#8D66EB#8D66EB

#8D66EB is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.5% C 0.192 H 293.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8D66EB
RGBrgb(141, 102, 235)
HSLhsl(258, 77%, 66%)
HSVhsv(258, 57%, 92%)
CMYKcmyk(40%, 56.6%, 0%, 7.8%)
CIE-LABlab(53.13, 45.20, -62.07)
CIE-LCHlch(53.13, 76.78, 306.06°)
OKLaboklab(61.49% 0.0766 -0.1765)
OKLCHoklch(61.49% 0.192 293.5)
XYZxyz(30.7273, 21.1629, 81.0471)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D66EB #C4EB66
analogous
#6681EB #8D66EB #CF66EB
triadic
#8D66EB #EB8D66 #66EB8D
tetradic
#8D66EB #EB6681 #C4EB66 #66EBCF
square
#8D66EB #EB6681 #C4EB66 #66EBCF
split-complementary
#8D66EB #EBCF66 #81EB66
monochromatic
#4919BE #6530E4 #8D66EB #B59CF2 #DED2F9

Accessibility & contrast

On white

4.01
#8D66EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#8D66EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D66EB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D66EB#FFFFFF#000000##000000
##8D66EB1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A80EF
Deuteranopia (green-blind)
#2A7DE8
Tritanopia (blue-blind)
#74839F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d66eb;
/* rgb */ color: rgb(141, 102, 235);
/* oklch */ color: oklch(61.5% 0.192 293.5);
Tailwind
colors: {
  custom: {
    50: '#b493f2',
    500: '#8d66eb',
    950: '#000000',
  },
}
SCSS
$custom: #8d66eb;
$custom-light: #b493f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d66eb",
  "rgb": {
    "r": 141,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 257.594,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61488,
    "c": 0.19243,
    "h": 293.5
  },
  "luminance": 0.21164
}

Semantic roles & 50–950 ramp

primary
#8D66EB
secondary
#DFECC1
accent
#D90C9D
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #8D66EB

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

Preview Lab → · Contrast checker → · Palette generator →

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