#8A66BD#8A66BD

#8A66BD is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.4% C 0.133 H 301.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8A66BD
RGBrgb(138, 102, 189)
HSLhsl(265, 40%, 57%)
HSVhsv(265, 46%, 74%)
CMYKcmyk(27%, 46%, 0%, 25.9%)
CIE-LABlab(50.19, 32.53, -40.62)
CIE-LCHlch(50.19, 52.04, 308.69°)
OKLaboklab(58.39% 0.0697 -0.1138)
OKLCHoklch(58.39% 0.133 301.5)
XYZxyz(24.4158, 18.5801, 50.4343)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A66BD #99BD66
analogous
#666EBD #8A66BD #B666BD
triadic
#8A66BD #BD8A66 #66BD8A
tetradic
#8A66BD #BD666E #99BD66 #66BDB6
square
#8A66BD #BD666E #99BD66 #66BDB6
split-complementary
#8A66BD #BDB666 #6EBD66
monochromatic
#4F3376 #6B45A1 #8A66BD #AB91CF #CBBCE2

Accessibility & contrast

On white

4.45
#8A66BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#8A66BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A66BD
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A66BD#FFFFFF#000000##000000
##8A66BD1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D77C0
Deuteranopia (green-blind)
#5577BB
Tritanopia (blue-blind)
#817588
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a66bd;
/* rgb */ color: rgb(138, 102, 189);
/* oklch */ color: oklch(58.4% 0.133 301.5);
Tailwind
colors: {
  custom: {
    50: '#ae92d1',
    500: '#8a66bd',
    950: '#000000',
  },
}
SCSS
$custom: #8a66bd;
$custom-light: #ae92d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a66bd",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 189
  },
  "hsl": {
    "h": 264.828,
    "s": 39.726,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58387,
    "c": 0.13346,
    "h": 301.5
  },
  "luminance": 0.1858
}

Semantic roles & 50–950 ramp

primary
#8A66BD
secondary
#C2D1AE
accent
#D0589E
background
#FAF9FC
surface
#F5F1F9
border
#CFCBD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8A66BD

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

Preview Lab → · Contrast checker → · Palette generator →

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