#8A66B5#8A66B5

#8A66B5 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.0% C 0.123 H 303.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8A66B5
RGBrgb(138, 102, 181)
HSLhsl(267, 35%, 55%)
HSVhsv(267, 44%, 71%)
CMYKcmyk(23.8%, 43.6%, 0%, 29%)
CIE-LABlab(49.79, 30.56, -36.63)
CIE-LCHlch(49.79, 47.70, 309.84°)
OKLaboklab(57.95% 0.0685 -0.1022)
OKLCHoklch(57.95% 0.123 303.8)
XYZxyz(23.5713, 18.2423, 45.9864)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A66B5 #91B566
analogous
#6669B5 #8A66B5 #B266B5
triadic
#8A66B5 #B58A66 #66B58A
tetradic
#8A66B5 #B56669 #91B566 #66B5B2
square
#8A66B5 #B56669 #91B566 #66B5B2
split-complementary
#8A66B5 #B5B266 #69B566
monochromatic
#4E346C #6B4895 #8A66B5 #AA8FC9 #C9B8DD

Accessibility & contrast

On white

4.52
#8A66B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#8A66B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A66B5
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A66B5#FFFFFF#000000##000000
##8A66B51.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5275B8
Deuteranopia (green-blind)
#5A76B3
Tritanopia (blue-blind)
#837385
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a66b5;
/* rgb */ color: rgb(138, 102, 181);
/* oklch */ color: oklch(58.0% 0.123 303.8);
Tailwind
colors: {
  custom: {
    50: '#ae92cb',
    500: '#8a66b5',
    950: '#000000',
  },
}
SCSS
$custom: #8a66b5;
$custom-light: #ae92cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a66b5",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 181
  },
  "hsl": {
    "h": 267.342,
    "s": 34.802,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57952,
    "c": 0.12302,
    "h": 303.8
  },
  "luminance": 0.18242
}

Semantic roles & 50–950 ramp

primary
#8A66B5
secondary
#BDCCAB
accent
#CB5D99
background
#FAF9FC
surface
#F4F1F8
border
#CECBD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #8A66B5

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

Preview Lab → · Contrast checker → · Palette generator →

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