#A652CD#A652CD

#A652CD is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.4% C 0.192 H 313.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A652CD
RGBrgb(166, 82, 205)
HSLhsl(281, 55%, 56%)
HSVhsv(281, 60%, 80%)
CMYKcmyk(19%, 60%, 0%, 19.6%)
CIE-LABlab(50.16, 54.37, -49.68)
CIE-LCHlch(50.16, 73.65, 317.58°)
OKLaboklab(59.36% 0.1327 -0.1394)
OKLCHoklch(59.36% 0.192 313.6)
XYZxyz(29.7608, 18.5502, 59.7586)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A652CD #79CD52
analogous
#6952CD #A652CD #CD52B7
triadic
#A652CD #CDA652 #52CDA6
tetradic
#A652CD #CD6952 #79CD52 #52B7CD
square
#A652CD #CD6952 #79CD52 #52B7CD
split-complementary
#A652CD #B7CD52 #52CD69
monochromatic
#632580 #8833AF #A652CD #BE81DB #D7B1E8

Accessibility & contrast

On white

4.46
#A652CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#A652CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A652CD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A652CD#FFFFFF#000000##000000
##A652CD1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2973D1
Deuteranopia (green-blind)
#4D79CA
Tritanopia (blue-blind)
#A26888
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a652cd;
/* rgb */ color: rgb(166, 82, 205);
/* oklch */ color: oklch(59.4% 0.192 313.6);
Tailwind
colors: {
  custom: {
    50: '#c387dd',
    500: '#a652cd',
    950: '#000000',
  },
}
SCSS
$custom: #a652cd;
$custom-light: #c387dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a652cd",
  "rgb": {
    "r": 166,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 280.976,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59359,
    "c": 0.19246,
    "h": 313.6
  },
  "luminance": 0.18549
}

Semantic roles & 50–950 ramp

primary
#A652CD
secondary
#B4D7A4
accent
#DE4979
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A652CD

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

Preview Lab → · Contrast checker → · Palette generator →

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