#A652B2#A652B2

#A652B2 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 57.8% C 0.165 H 322.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#A652B2
RGBrgb(166, 82, 178)
HSLhsl(293, 38%, 51%)
HSVhsv(293, 54%, 70%)
CMYKcmyk(6.7%, 53.9%, 0%, 30.2%)
CIE-LABlab(48.71, 48.87, -36.36)
CIE-LCHlch(48.71, 60.91, 323.35°)
OKLaboklab(57.83% 0.1311 -0.1006)
OKLCHoklch(57.83% 0.165 322.5)
XYZxyz(26.7782, 17.3572, 44.0506)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A652B2 #5EB252
analogous
#7652B2 #A652B2 #B2528E
triadic
#A652B2 #B2A652 #52B2A6
tetradic
#A652B2 #B27652 #5EB252 #528EB2
square
#A652B2 #B27652 #5EB252 #528EB2
split-complementary
#A652B2 #8EB252 #52B276
monochromatic
#592A5F #803D8A #A652B2 #BC7CC5 #D2A7D8

Accessibility & contrast

On white

4.70
#A652B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#A652B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A652B2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A652B2#FFFFFF#000000##FFFFFF
##A652B21.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436DB5
Deuteranopia (green-blind)
#5E77AF
Tritanopia (blue-blind)
#A85F7A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a652b2;
/* rgb */ color: rgb(166, 82, 178);
/* oklch */ color: oklch(57.8% 0.165 322.5);
Tailwind
colors: {
  custom: {
    50: '#c386c9',
    500: '#a652b2',
    950: '#000000',
  },
}
SCSS
$custom: #a652b2;
$custom-light: #c386c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a652b2",
  "rgb": {
    "r": 166,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 292.5,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57829,
    "c": 0.16526,
    "h": 322.5
  },
  "luminance": 0.17356
}

Semantic roles & 50–950 ramp

primary
#A652B2
secondary
#A0C59B
accent
#CE5968
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A652B2

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

Preview Lab → · Contrast checker → · Palette generator →

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