#A652C2#A652C2

#A652C2 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.7% C 0.181 H 316.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A652C2
RGBrgb(166, 82, 194)
HSLhsl(285, 48%, 54%)
HSVhsv(285, 58%, 76%)
CMYKcmyk(14.4%, 57.7%, 0%, 23.9%)
CIE-LABlab(49.54, 52.07, -44.33)
CIE-LCHlch(49.54, 68.39, 319.59°)
OKLaboklab(58.71% 0.1324 -0.1238)
OKLCHoklch(58.71% 0.181 316.9)
XYZxyz(28.4794, 18.0376, 53.0099)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A652C2 #6EC252
analogous
#6E52C2 #A652C2 #C252A6
triadic
#A652C2 #C2A652 #52C2A6
tetradic
#A652C2 #C26E52 #6EC252 #52A6C2
square
#A652C2 #C26E52 #6EC252 #52A6C2
split-complementary
#A652C2 #A6C252 #52C26E
monochromatic
#5F2872 #85389F #A652C2 #BD7FD2 #D5ACE2

Accessibility & contrast

On white

4.56
#A652C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#A652C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A652C2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A652C2#FFFFFF#000000##000000
##A652C21.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3670C6
Deuteranopia (green-blind)
#5478BF
Tritanopia (blue-blind)
#A56482
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a652c2;
/* rgb */ color: rgb(166, 82, 194);
/* oklch */ color: oklch(58.7% 0.181 316.9);
Tailwind
colors: {
  custom: {
    50: '#c387d5',
    500: '#a652c2',
    950: '#000000',
  },
}
SCSS
$custom: #a652c2;
$custom-light: #c387d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a652c2",
  "rgb": {
    "r": 166,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 285,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58712,
    "c": 0.18123,
    "h": 316.9
  },
  "luminance": 0.18037
}

Semantic roles & 50–950 ramp

primary
#A652C2
secondary
#ACD0A0
accent
#D75072
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A652C2

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

Preview Lab → · Contrast checker → · Palette generator →

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