#A652B7#A652B7

#A652B7 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.1% C 0.170 H 320.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A652B7
RGBrgb(166, 82, 183)
HSLhsl(290, 41%, 52%)
HSVhsv(290, 55%, 72%)
CMYKcmyk(9.3%, 55.2%, 0%, 28.2%)
CIE-LABlab(48.96, 49.85, -38.87)
CIE-LCHlch(48.96, 63.22, 322.05°)
OKLaboklab(58.1% 0.1316 -0.1079)
OKLCHoklch(58.1% 0.17 320.6)
XYZxyz(27.2894, 17.5617, 46.7428)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A652B7 #63B752
analogous
#7452B7 #A652B7 #B75296
triadic
#A652B7 #B7A652 #52B7A6
tetradic
#A652B7 #B77452 #63B752 #5296B7
square
#A652B7 #B77452 #63B752 #5296B7
split-complementary
#A652B7 #96B752 #52B774
monochromatic
#5B2A65 #823C90 #A652B7 #BC7DC9 #D2A8DB

Accessibility & contrast

On white

4.65
#A652B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#A652B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A652B7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A652B7#FFFFFF#000000##FFFFFF
##A652B71.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6EBA
Deuteranopia (green-blind)
#5B77B4
Tritanopia (blue-blind)
#A7617D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a652b7;
/* rgb */ color: rgb(166, 82, 183);
/* oklch */ color: oklch(58.1% 0.170 320.6);
Tailwind
colors: {
  custom: {
    50: '#c386cd',
    500: '#a652b7',
    950: '#000000',
  },
}
SCSS
$custom: #a652b7;
$custom-light: #c386cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a652b7",
  "rgb": {
    "r": 166,
    "g": 82,
    "b": 183
  },
  "hsl": {
    "h": 289.901,
    "s": 41.224,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58098,
    "c": 0.17018,
    "h": 320.6
  },
  "luminance": 0.1756
}

Semantic roles & 50–950 ramp

primary
#A652B7
secondary
#A4C99C
accent
#D1576B
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B13
muted
#827C82

Preview Lab

Preview with #A652B7

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

Preview Lab → · Contrast checker → · Palette generator →

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