#A652AC#A652AC

#A652AC is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.5% C 0.159 H 324.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A652AC
RGBrgb(166, 82, 172)
HSLhsl(296, 35%, 50%)
HSVhsv(296, 52%, 67%)
CMYKcmyk(3.5%, 52.3%, 0%, 32.5%)
CIE-LABlab(48.41, 47.72, -33.30)
CIE-LCHlch(48.41, 58.19, 325.09°)
OKLaboklab(57.52% 0.1304 -0.0918)
OKLCHoklch(57.52% 0.159 324.8)
XYZxyz(26.1889, 17.1215, 40.9470)
Luminance0.1712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A652AC #58AC52
analogous
#7952AC #A652AC #AC5285
triadic
#A652AC #ACA652 #52ACA6
tetradic
#A652AC #AC7952 #58AC52 #5285AC
square
#A652AC #AC7952 #58AC52 #5285AC
split-complementary
#A652AC #85AC52 #52AC79
monochromatic
#562A59 #7E3E83 #A652AC #BC7BC0 #D1A5D4

Accessibility & contrast

On white

4.75
#A652AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#A652AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A652AC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A652AC#FFFFFF#000000##FFFFFF
##A652AC1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476CAF
Deuteranopia (green-blind)
#6177A9
Tritanopia (blue-blind)
#A95D77
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a652ac;
/* rgb */ color: rgb(166, 82, 172);
/* oklch */ color: oklch(57.5% 0.159 324.8);
Tailwind
colors: {
  custom: {
    50: '#c386c5',
    500: '#a652ac',
    950: '#000000',
  },
}
SCSS
$custom: #a652ac;
$custom-light: #c386c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a652ac",
  "rgb": {
    "r": 166,
    "g": 82,
    "b": 172
  },
  "hsl": {
    "h": 296,
    "s": 35.433,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57517,
    "c": 0.15945,
    "h": 324.8
  },
  "luminance": 0.1712
}

Semantic roles & 50–950 ramp

primary
#A652AC
secondary
#9BC199
accent
#CB5C64
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A652AC

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

Preview Lab → · Contrast checker → · Palette generator →

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