#A652AF#A652AF

#A652AF is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.7% C 0.162 H 323.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A652AF
RGBrgb(166, 82, 175)
HSLhsl(294, 37%, 50%)
HSVhsv(294, 53%, 69%)
CMYKcmyk(5.1%, 53.1%, 0%, 31.4%)
CIE-LABlab(48.56, 48.29, -34.83)
CIE-LCHlch(48.56, 59.54, 324.20°)
OKLaboklab(57.67% 0.1307 -0.0962)
OKLCHoklch(57.67% 0.162 323.6)
XYZxyz(26.4803, 17.2380, 42.4816)
Luminance0.1724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A652AF #5BAF52
analogous
#7852AF #A652AF #AF5289
triadic
#A652AF #AFA652 #52AFA6
tetradic
#A652AF #AF7852 #5BAF52 #5289AF
square
#A652AF #AF7852 #5BAF52 #5289AF
split-complementary
#A652AF #89AF52 #52AF78
monochromatic
#572B5C #7F3E86 #A652AF #BC7CC2 #D1A6D6

Accessibility & contrast

On white

4.72
#A652AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#A652AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A652AF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A652AF#FFFFFF#000000##FFFFFF
##A652AF1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456DB2
Deuteranopia (green-blind)
#5F77AC
Tritanopia (blue-blind)
#A95E79
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a652af;
/* rgb */ color: rgb(166, 82, 175);
/* oklch */ color: oklch(57.7% 0.162 323.6);
Tailwind
colors: {
  custom: {
    50: '#c386c7',
    500: '#a652af',
    950: '#000000',
  },
}
SCSS
$custom: #a652af;
$custom-light: #c386c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a652af",
  "rgb": {
    "r": 166,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 294.194,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57672,
    "c": 0.16234,
    "h": 323.6
  },
  "luminance": 0.17237
}

Semantic roles & 50–950 ramp

primary
#A652AF
secondary
#9EC39A
accent
#CD5B66
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A652AF

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

Preview Lab → · Contrast checker → · Palette generator →

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