#A652C4#A652C4

#A652C4 is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.8% C 0.183 H 316.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#A652C4
RGBrgb(166, 82, 196)
HSLhsl(284, 49%, 55%)
HSVhsv(284, 58%, 77%)
CMYKcmyk(15.3%, 58.2%, 0%, 23.1%)
CIE-LABlab(49.65, 52.48, -45.31)
CIE-LCHlch(49.65, 69.34, 319.19°)
OKLaboklab(58.83% 0.1325 -0.1267)
OKLCHoklch(58.83% 0.183 316.3)
XYZxyz(28.7055, 18.1281, 54.2008)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A652C4 #70C452
analogous
#6D52C4 #A652C4 #C452A9
triadic
#A652C4 #C4A652 #52C4A6
tetradic
#A652C4 #C46D52 #70C452 #52A9C4
square
#A652C4 #C46D52 #70C452 #52A9C4
split-complementary
#A652C4 #A9C452 #52C46D
monochromatic
#602874 #8637A2 #A652C4 #BD80D4 #D5ADE3

Accessibility & contrast

On white

4.54
#A652C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#A652C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A652C4
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A652C4#FFFFFF#000000##000000
##A652C41.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3471C8
Deuteranopia (green-blind)
#5379C1
Tritanopia (blue-blind)
#A46583
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a652c4;
/* rgb */ color: rgb(166, 82, 196);
/* oklch */ color: oklch(58.8% 0.183 316.3);
Tailwind
colors: {
  custom: {
    50: '#c387d6',
    500: '#a652c4',
    950: '#000000',
  },
}
SCSS
$custom: #a652c4;
$custom-light: #c387d6;
$custom-dark: #000000;
JSON
{
  "hex": "#a652c4",
  "rgb": {
    "r": 166,
    "g": 82,
    "b": 196
  },
  "hsl": {
    "h": 284.211,
    "s": 49.138,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58827,
    "c": 0.18326,
    "h": 316.3
  },
  "luminance": 0.18127
}

Semantic roles & 50–950 ramp

primary
#A652C4
secondary
#ADD1A1
accent
#D94F73
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A652C4

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

Preview Lab → · Contrast checker → · Palette generator →

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