#A652BB#A652BB

#A652BB is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.3% C 0.174 H 319.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A652BB
RGBrgb(166, 82, 187)
HSLhsl(288, 44%, 53%)
HSVhsv(288, 56%, 73%)
CMYKcmyk(11.2%, 56.1%, 0%, 26.7%)
CIE-LABlab(49.17, 50.65, -40.87)
CIE-LCHlch(49.17, 65.09, 321.10°)
OKLaboklab(58.32% 0.1319 -0.1137)
OKLCHoklch(58.32% 0.174 319.2)
XYZxyz(27.7117, 17.7306, 48.9667)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A652BB #67BB52
analogous
#7152BB #A652BB #BB529B
triadic
#A652BB #BBA652 #52BBA6
tetradic
#A652BB #BB7152 #67BB52 #529BBB
square
#A652BB #BB7152 #67BB52 #529BBB
split-complementary
#A652BB #9BBB52 #52BB71
monochromatic
#5C2969 #833B95 #A652BB #BD7ECC #D3AADE

Accessibility & contrast

On white

4.62
#A652BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#A652BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A652BB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A652BB#FFFFFF#000000##FFFFFF
##A652BB1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6FBE
Deuteranopia (green-blind)
#5978B8
Tritanopia (blue-blind)
#A6627F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a652bb;
/* rgb */ color: rgb(166, 82, 187);
/* oklch */ color: oklch(58.3% 0.174 319.2);
Tailwind
colors: {
  custom: {
    50: '#c387d0',
    500: '#a652bb',
    950: '#000000',
  },
}
SCSS
$custom: #a652bb;
$custom-light: #c387d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a652bb",
  "rgb": {
    "r": 166,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 288,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58317,
    "c": 0.17418,
    "h": 319.2
  },
  "luminance": 0.17729
}

Semantic roles & 50–950 ramp

primary
#A652BB
secondary
#A7CB9E
accent
#D3546E
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A652BB

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

Preview Lab → · Contrast checker → · Palette generator →

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