#8A66E6#8A66E6

#8A66E6 is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.9% C 0.186 H 293.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8A66E6
RGBrgb(138, 102, 230)
HSLhsl(257, 72%, 65%)
HSVhsv(257, 56%, 90%)
CMYKcmyk(40%, 55.7%, 0%, 9.8%)
CIE-LABlab(52.53, 43.19, -60.24)
CIE-LCHlch(52.53, 74.12, 305.64°)
OKLaboklab(60.88% 0.0728 -0.1713)
OKLCHoklch(60.88% 0.186 293)
XYZxyz(29.5117, 20.6184, 77.2724)
Luminance0.2062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A66E6 #C2E666
analogous
#6682E6 #8A66E6 #CA66E6
triadic
#8A66E6 #E68A66 #66E68A
tetradic
#8A66E6 #E66682 #C2E666 #66E6CA
square
#8A66E6 #E66682 #C2E666 #66E6CA
split-complementary
#8A66E6 #E6CA66 #82E666
monochromatic
#481DB4 #6231DD #8A66E6 #B29BEF #DACFF7

Accessibility & contrast

On white

4.10
#8A66E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#8A66E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A66E6
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A66E6#FFFFFF#000000##000000
##8A66E61.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#237FEA
Deuteranopia (green-blind)
#2E7BE3
Tritanopia (blue-blind)
#72819C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a66e6;
/* rgb */ color: rgb(138, 102, 230);
/* oklch */ color: oklch(60.9% 0.186 293.0);
Tailwind
colors: {
  custom: {
    50: '#b193ef',
    500: '#8a66e6',
    950: '#000000',
  },
}
SCSS
$custom: #8a66e6;
$custom-light: #b193ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8a66e6",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 230
  },
  "hsl": {
    "h": 256.875,
    "s": 71.91,
    "l": 65.098
  },
  "oklch": {
    "l": 0.6088,
    "c": 0.18607,
    "h": 293
  },
  "luminance": 0.20619
}

Semantic roles & 50–950 ramp

primary
#8A66E6
secondary
#DDEABE
accent
#D4129D
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A66E6

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

Preview Lab → · Contrast checker → · Palette generator →

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