#8A66BB#8A66BB

#8A66BB is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.3% C 0.131 H 302.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8A66BB
RGBrgb(138, 102, 187)
HSLhsl(265, 38%, 57%)
HSVhsv(265, 45%, 73%)
CMYKcmyk(26.2%, 45.5%, 0%, 26.7%)
CIE-LABlab(50.09, 32.04, -39.63)
CIE-LCHlch(50.09, 50.96, 308.95°)
OKLaboklab(58.28% 0.0694 -0.1109)
OKLCHoklch(58.28% 0.131 302)
XYZxyz(24.2003, 18.4938, 49.2988)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A66BB #97BB66
analogous
#666DBB #8A66BB #B566BB
triadic
#8A66BB #BB8A66 #66BB8A
tetradic
#8A66BB #BB666D #97BB66 #66BBB5
square
#8A66BB #BB666D #97BB66 #66BBB5
split-complementary
#8A66BB #BBB566 #6DBB66
monochromatic
#4E3373 #6B469E #8A66BB #AA90CE #CBBBE1

Accessibility & contrast

On white

4.47
#8A66BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#8A66BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A66BB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A66BB#FFFFFF#000000##000000
##8A66BB1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E77BE
Deuteranopia (green-blind)
#5777B9
Tritanopia (blue-blind)
#817587
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a66bb;
/* rgb */ color: rgb(138, 102, 187);
/* oklch */ color: oklch(58.3% 0.131 302.0);
Tailwind
colors: {
  custom: {
    50: '#ae92d0',
    500: '#8a66bb',
    950: '#000000',
  },
}
SCSS
$custom: #8a66bb;
$custom-light: #ae92d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a66bb",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 187
  },
  "hsl": {
    "h": 265.412,
    "s": 38.462,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58277,
    "c": 0.13085,
    "h": 302
  },
  "luminance": 0.18494
}

Semantic roles & 50–950 ramp

primary
#8A66BB
secondary
#C1D0AD
accent
#CE599D
background
#FAF9FC
surface
#F5F1F9
border
#CFCBD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8A66BB

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

Preview Lab → · Contrast checker → · Palette generator →

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