#8A66E5#8A66E5

#8A66E5 is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.8% C 0.185 H 293.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8A66E5
RGBrgb(138, 102, 229)
HSLhsl(257, 71%, 65%)
HSVhsv(257, 55%, 90%)
CMYKcmyk(39.7%, 55.5%, 0%, 10.2%)
CIE-LABlab(52.47, 42.92, -59.78)
CIE-LCHlch(52.47, 73.59, 305.68°)
OKLaboklab(60.81% 0.0728 -0.1699)
OKLCHoklch(60.81% 0.185 293.2)
XYZxyz(29.3717, 20.5624, 76.5350)
Luminance0.2056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A66E5 #C1E566
analogous
#6681E5 #8A66E5 #CA66E5
triadic
#8A66E5 #E58A66 #66E58A
tetradic
#8A66E5 #E56681 #C1E566 #66E5CA
square
#8A66E5 #E56681 #C1E566 #66E5CA
split-complementary
#8A66E5 #E5CA66 #81E566
monochromatic
#481EB2 #6232DC #8A66E5 #B29AEE #DACFF7

Accessibility & contrast

On white

4.11
#8A66E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#8A66E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A66E5
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A66E5#FFFFFF#000000##000000
##8A66E51.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#247FE9
Deuteranopia (green-blind)
#307BE2
Tritanopia (blue-blind)
#72819C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a66e5;
/* rgb */ color: rgb(138, 102, 229);
/* oklch */ color: oklch(60.8% 0.185 293.2);
Tailwind
colors: {
  custom: {
    50: '#b193ee',
    500: '#8a66e5',
    950: '#000000',
  },
}
SCSS
$custom: #8a66e5;
$custom-light: #b193ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8a66e5",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 229
  },
  "hsl": {
    "h": 257.008,
    "s": 70.95,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60814,
    "c": 0.18481,
    "h": 293.2
  },
  "luminance": 0.20563
}

Semantic roles & 50–950 ramp

primary
#8A66E5
secondary
#DDE9BE
accent
#D3139C
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A66E5

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

Preview Lab → · Contrast checker → · Palette generator →

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