#8A66EE#8A66EE

#8A66EE is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.4% C 0.196 H 291.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8A66EE
RGBrgb(138, 102, 238)
HSLhsl(256, 80%, 67%)
HSVhsv(256, 57%, 93%)
CMYKcmyk(42%, 57.1%, 0%, 6.7%)
CIE-LABlab(53.03, 45.35, -63.91)
CIE-LCHlch(53.03, 78.37, 305.36°)
OKLaboklab(61.41% 0.0728 -0.182)
OKLCHoklch(61.41% 0.196 291.8)
XYZxyz(30.6610, 21.0781, 83.3254)
Luminance0.2108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A66EE #CAEE66
analogous
#6686EE #8A66EE #CE66EE
triadic
#8A66EE #EE8A66 #66EE8A
tetradic
#8A66EE #EE6686 #CAEE66 #66EECE
square
#8A66EE #EE6686 #CAEE66 #66EECE
split-complementary
#8A66EE #EECE66 #86EE66
monochromatic
#4416C4 #602FE8 #8A66EE #B49DF4 #DED4FA

Accessibility & contrast

On white

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

On black

5.22
#8A66EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A66EE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A66EE#FFFFFF#000000##000000
##8A66EE1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B81F2
Deuteranopia (green-blind)
#1E7CEB
Tritanopia (blue-blind)
#6E84A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a66ee;
/* rgb */ color: rgb(138, 102, 238);
/* oklch */ color: oklch(61.4% 0.196 291.8);
Tailwind
colors: {
  custom: {
    50: '#b293f4',
    500: '#8a66ee',
    950: '#000000',
  },
}
SCSS
$custom: #8a66ee;
$custom-light: #b293f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a66ee",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 238
  },
  "hsl": {
    "h": 255.882,
    "s": 80,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61414,
    "c": 0.19605,
    "h": 291.8
  },
  "luminance": 0.21079
}

Semantic roles & 50–950 ramp

primary
#8A66EE
secondary
#E2EEC2
accent
#DC09A4
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A66EE

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

Preview Lab → · Contrast checker → · Palette generator →

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