#A66DB2#A66DB2

#A66DB2 is a mid, moderate purple. Relative luminance 0.223; OKLCH L 62.0% C 0.119 H 320.5°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#A66DB2
RGBrgb(166, 109, 178)
HSLhsl(290, 31%, 56%)
HSVhsv(290, 39%, 70%)
CMYKcmyk(6.7%, 38.8%, 0%, 30.2%)
CIE-LABlab(54.30, 34.47, -27.62)
CIE-LCHlch(54.30, 44.17, 321.30°)
OKLaboklab(62% 0.0918 -0.0757)
OKLCHoklch(62% 0.119 320.5)
XYZxyz(29.2294, 22.2596, 44.8677)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66DB2 #79B26D
analogous
#846DB2 #A66DB2 #B26D9C
triadic
#A66DB2 #B2A66D #6DB2A6
tetradic
#A66DB2 #B2846D #79B26D #6D9CB2
square
#A66DB2 #B2846D #79B26D #6D9CB2
split-complementary
#A66DB2 #9CB26D #6DB284
monochromatic
#63396C #884E94 #A66DB2 #BE95C7 #D7BDDC

Accessibility & contrast

On white

3.85
#A66DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#A66DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66DB2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66DB2#FFFFFF#000000##000000
##A66DB21.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#647EB5
Deuteranopia (green-blind)
#7384B0
Tritanopia (blue-blind)
#A77587
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a66db2;
/* rgb */ color: rgb(166, 109, 178);
/* oklch */ color: oklch(62.0% 0.119 320.5);
Tailwind
colors: {
  custom: {
    50: '#c198c9',
    500: '#a66db2',
    950: '#000000',
  },
}
SCSS
$custom: #a66db2;
$custom-light: #c198c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a66db2",
  "rgb": {
    "r": 166,
    "g": 109,
    "b": 178
  },
  "hsl": {
    "h": 289.565,
    "s": 30.942,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61995,
    "c": 0.119,
    "h": 320.5
  },
  "luminance": 0.22259
}

Semantic roles & 50–950 ramp

primary
#A66DB2
secondary
#B4CCAF
accent
#C76172
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#120E13
muted
#817E82

Preview Lab

Preview with #A66DB2

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

Preview Lab → · Contrast checker → · Palette generator →

#A66DB2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva