#8A66B9#8A66B9

#8A66B9 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.2% C 0.128 H 302.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8A66B9
RGBrgb(138, 102, 185)
HSLhsl(266, 37%, 56%)
HSVhsv(266, 45%, 73%)
CMYKcmyk(25.4%, 44.9%, 0%, 27.5%)
CIE-LABlab(49.99, 31.54, -38.63)
CIE-LCHlch(49.99, 49.87, 309.23°)
OKLaboklab(58.17% 0.0691 -0.108)
OKLCHoklch(58.17% 0.128 302.6)
XYZxyz(23.9876, 18.4088, 48.1791)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A66B9 #95B966
analogous
#666CB9 #8A66B9 #B466B9
triadic
#8A66B9 #B98A66 #66B98A
tetradic
#8A66B9 #B9666C #95B966 #66B9B4
square
#8A66B9 #B9666C #95B966 #66B9B4
split-complementary
#8A66B9 #B9B466 #6CB966
monochromatic
#4E3471 #6B479B #8A66B9 #AA90CC #CABADF

Accessibility & contrast

On white

4.49
#8A66B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8A66B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A66B9
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A66B9#FFFFFF#000000##000000
##8A66B91.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F76BC
Deuteranopia (green-blind)
#5877B7
Tritanopia (blue-blind)
#827487
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a66b9;
/* rgb */ color: rgb(138, 102, 185);
/* oklch */ color: oklch(58.2% 0.128 302.6);
Tailwind
colors: {
  custom: {
    50: '#ae92ce',
    500: '#8a66b9',
    950: '#000000',
  },
}
SCSS
$custom: #8a66b9;
$custom-light: #ae92ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8a66b9",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 185
  },
  "hsl": {
    "h": 266.024,
    "s": 37.22,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58168,
    "c": 0.12824,
    "h": 302.6
  },
  "luminance": 0.18409
}

Semantic roles & 50–950 ramp

primary
#8A66B9
secondary
#C0CEAC
accent
#CD5B9B
background
#FAF9FC
surface
#F5F1F9
border
#CFCBD2
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #8A66B9

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

Preview Lab → · Contrast checker → · Palette generator →

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