#A652A2#A652A2

#A652A2 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.0% C 0.150 H 329.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A652A2
RGBrgb(166, 82, 162)
HSLhsl(303, 34%, 49%)
HSVhsv(303, 51%, 65%)
CMYKcmyk(0%, 50.6%, 2.4%, 34.9%)
CIE-LABlab(47.95, 45.86, -28.15)
CIE-LCHlch(47.95, 53.81, 328.46°)
OKLaboklab(57.02% 0.1288 -0.077)
OKLCHoklch(57.02% 0.15 329.1)
XYZxyz(25.2645, 16.7517, 36.0781)
Luminance0.1675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A652A2 #52A656
analogous
#8052A6 #A652A2 #A65278
triadic
#A652A2 #A2A652 #52A2A6
tetradic
#A652A2 #A68052 #52A656 #5278A6
square
#A652A2 #A68052 #52A656 #5278A6
split-complementary
#A652A2 #78A652 #52A680
monochromatic
#542A52 #7D3E7A #A652A2 #BD79B9 #D1A2CF

Accessibility & contrast

On white

4.83
#A652A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#A652A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A652A2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A652A2#FFFFFF#000000##FFFFFF
##A652A21.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6BA5
Deuteranopia (green-blind)
#6576A0
Tritanopia (blue-blind)
#AB5A73
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a652a2;
/* rgb */ color: rgb(166, 82, 162);
/* oklch */ color: oklch(57.0% 0.150 329.1);
Tailwind
colors: {
  custom: {
    50: '#c286be',
    500: '#a652a2',
    950: '#000000',
  },
}
SCSS
$custom: #a652a2;
$custom-light: #c286be;
$custom-dark: #000000;
JSON
{
  "hex": "#a652a2",
  "rgb": {
    "r": 166,
    "g": 82,
    "b": 162
  },
  "hsl": {
    "h": 302.857,
    "s": 33.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57019,
    "c": 0.15008,
    "h": 329.1
  },
  "luminance": 0.1675
}

Semantic roles & 50–950 ramp

primary
#A652A2
secondary
#96BE98
accent
#CA635E
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #A652A2

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

Preview Lab → · Contrast checker → · Palette generator →

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