#8A66C2#8A66C2

#8A66C2 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 58.7% C 0.140 H 300.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8A66C2
RGBrgb(138, 102, 194)
HSLhsl(263, 43%, 58%)
HSVhsv(263, 47%, 76%)
CMYKcmyk(28.9%, 47.4%, 0%, 23.9%)
CIE-LABlab(50.45, 33.79, -43.09)
CIE-LCHlch(50.45, 54.76, 308.10°)
OKLaboklab(58.67% 0.0704 -0.121)
OKLCHoklch(58.67% 0.14 300.2)
XYZxyz(24.9680, 18.8009, 53.3420)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A66C2 #9EC266
analogous
#6670C2 #8A66C2 #B866C2
triadic
#8A66C2 #C28A66 #66C28A
tetradic
#8A66C2 #C26670 #9EC266 #66C2B8
square
#8A66C2 #C26670 #9EC266 #66C2B8
split-complementary
#8A66C2 #C2B866 #70C266
monochromatic
#4F317C #6A43A8 #8A66C2 #AB92D3 #CDBEE5

Accessibility & contrast

On white

4.41
#8A66C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#8A66C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A66C2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A66C2#FFFFFF#000000##000000
##8A66C21.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A78C5
Deuteranopia (green-blind)
#5277C0
Tritanopia (blue-blind)
#7F778B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a66c2;
/* rgb */ color: rgb(138, 102, 194);
/* oklch */ color: oklch(58.7% 0.140 300.2);
Tailwind
colors: {
  custom: {
    50: '#ae92d5',
    500: '#8a66c2',
    950: '#000000',
  },
}
SCSS
$custom: #8a66c2;
$custom-light: #ae92d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a66c2",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 194
  },
  "hsl": {
    "h": 263.478,
    "s": 42.991,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58668,
    "c": 0.13998,
    "h": 300.2
  },
  "luminance": 0.18801
}

Semantic roles & 50–950 ramp

primary
#8A66C2
secondary
#C6D4B0
accent
#D355A2
background
#FAF9FD
surface
#F5F1FA
border
#CFCBD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #8A66C2

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

Preview Lab → · Contrast checker → · Palette generator →

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