#A652CC#A652CC

#A652CC is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.3% C 0.191 H 313.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#A652CC
RGBrgb(166, 82, 204)
HSLhsl(281, 54%, 56%)
HSVhsv(281, 60%, 80%)
CMYKcmyk(18.6%, 59.8%, 0%, 20%)
CIE-LABlab(50.10, 54.16, -49.20)
CIE-LCHlch(50.10, 73.17, 317.74°)
OKLaboklab(59.3% 0.1327 -0.138)
OKLCHoklch(59.3% 0.191 313.9)
XYZxyz(29.6404, 18.5021, 59.1249)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A652CC #78CC52
analogous
#6952CC #A652CC #CC52B5
triadic
#A652CC #CCA652 #52CCA6
tetradic
#A652CC #CC6952 #78CC52 #52B5CC
square
#A652CC #CC6952 #78CC52 #52B5CC
split-complementary
#A652CC #B5CC52 #52CC69
monochromatic
#63257E #8733AE #A652CC #BE81DA #D7B1E8

Accessibility & contrast

On white

4.47
#A652CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#A652CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A652CC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A652CC#FFFFFF#000000##000000
##A652CC1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A73D0
Deuteranopia (green-blind)
#4D79C9
Tritanopia (blue-blind)
#A36887
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a652cc;
/* rgb */ color: rgb(166, 82, 204);
/* oklch */ color: oklch(59.3% 0.191 313.9);
Tailwind
colors: {
  custom: {
    50: '#c387dc',
    500: '#a652cc',
    950: '#000000',
  },
}
SCSS
$custom: #a652cc;
$custom-light: #c387dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a652cc",
  "rgb": {
    "r": 166,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 281.311,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59299,
    "c": 0.19143,
    "h": 313.9
  },
  "luminance": 0.18501
}

Semantic roles & 50–950 ramp

primary
#A652CC
secondary
#B3D6A4
accent
#DE4A78
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A652CC

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

Preview Lab → · Contrast checker → · Palette generator →

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