#8A66EA#8A66EA

#8A66EA is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.1% C 0.191 H 292.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8A66EA
RGBrgb(138, 102, 234)
HSLhsl(256, 76%, 66%)
HSVhsv(256, 56%, 92%)
CMYKcmyk(41%, 56.4%, 0%, 8.2%)
CIE-LABlab(52.78, 44.27, -62.08)
CIE-LCHlch(52.78, 76.25, 305.49°)
OKLaboklab(61.15% 0.0728 -0.1767)
OKLCHoklch(61.15% 0.191 292.4)
XYZxyz(30.0799, 20.8457, 80.2647)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A66EA #C6EA66
analogous
#6684EA #8A66EA #CC66EA
triadic
#8A66EA #EA8A66 #66EA8A
tetradic
#8A66EA #EA6684 #C6EA66 #66EACC
square
#8A66EA #EA6684 #C6EA66 #66EACC
split-complementary
#8A66EA #EACC66 #84EA66
monochromatic
#461ABC #6130E3 #8A66EA #B39CF1 #DCD2F9

Accessibility & contrast

On white

4.06
#8A66EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#8A66EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A66EA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A66EA#FFFFFF#000000##000000
##8A66EA1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1980EE
Deuteranopia (green-blind)
#277BE7
Tritanopia (blue-blind)
#70839E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a66ea;
/* rgb */ color: rgb(138, 102, 234);
/* oklch */ color: oklch(61.1% 0.191 292.4);
Tailwind
colors: {
  custom: {
    50: '#b293f1',
    500: '#8a66ea',
    950: '#000000',
  },
}
SCSS
$custom: #8a66ea;
$custom-light: #b293f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a66ea",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 256.364,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61145,
    "c": 0.19107,
    "h": 292.4
  },
  "luminance": 0.20847
}

Semantic roles & 50–950 ramp

primary
#8A66EA
secondary
#E0ECC0
accent
#D80DA1
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A66EA

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

Preview Lab → · Contrast checker → · Palette generator →

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