#8A66ED#8A66ED

#8A66ED is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.3% C 0.195 H 291.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8A66ED
RGBrgb(138, 102, 237)
HSLhsl(256, 79%, 66%)
HSVhsv(256, 57%, 93%)
CMYKcmyk(41.8%, 57%, 0%, 7.1%)
CIE-LABlab(52.97, 45.08, -63.46)
CIE-LCHlch(52.97, 77.84, 305.39°)
OKLaboklab(61.35% 0.0728 -0.1807)
OKLCHoklch(61.35% 0.195 291.9)
XYZxyz(30.5145, 21.0195, 82.5538)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A66ED #C9ED66
analogous
#6686ED #8A66ED #CE66ED
triadic
#8A66ED #ED8A66 #66ED8A
tetradic
#8A66ED #ED6686 #C9ED66 #66EDCE
square
#8A66ED #ED6686 #C9ED66 #66EDCE
split-complementary
#8A66ED #EDCE66 #86ED66
monochromatic
#4417C2 #602FE7 #8A66ED #B49DF3 #DED4FA

Accessibility & contrast

On white

4.04
#8A66ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#8A66ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A66ED
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A66ED#FFFFFF#000000##000000
##8A66ED1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1080F1
Deuteranopia (green-blind)
#207CEA
Tritanopia (blue-blind)
#6F83A0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a66ed;
/* rgb */ color: rgb(138, 102, 237);
/* oklch */ color: oklch(61.3% 0.195 291.9);
Tailwind
colors: {
  custom: {
    50: '#b293f4',
    500: '#8a66ed',
    950: '#000000',
  },
}
SCSS
$custom: #8a66ed;
$custom-light: #b293f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a66ed",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 237
  },
  "hsl": {
    "h": 256,
    "s": 78.947,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61346,
    "c": 0.19481,
    "h": 291.9
  },
  "luminance": 0.2102
}

Semantic roles & 50–950 ramp

primary
#8A66ED
secondary
#E2EDC2
accent
#DB0AA4
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A66ED

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

Preview Lab → · Contrast checker → · Palette generator →

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