#A652CA#A652CA

#A652CA is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.2% C 0.189 H 314.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#A652CA
RGBrgb(166, 82, 202)
HSLhsl(282, 53%, 56%)
HSVhsv(282, 59%, 79%)
CMYKcmyk(17.8%, 59.4%, 0%, 20.8%)
CIE-LABlab(49.99, 53.73, -48.24)
CIE-LCHlch(49.99, 72.21, 318.09°)
OKLaboklab(59.18% 0.1326 -0.1352)
OKLCHoklch(59.18% 0.189 314.5)
XYZxyz(29.4021, 18.4067, 57.8697)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A652CA #76CA52
analogous
#6A52CA #A652CA #CA52B2
triadic
#A652CA #CAA652 #52CAA6
tetradic
#A652CA #CA6A52 #76CA52 #52B2CA
square
#A652CA #CA6A52 #76CA52 #52B2CA
split-complementary
#A652CA #B2CA52 #52CA6A
monochromatic
#62267C #8734AB #A652CA #BE81D8 #D6B0E7

Accessibility & contrast

On white

4.49
#A652CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#A652CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A652CA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A652CA#FFFFFF#000000##000000
##A652CA1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D72CE
Deuteranopia (green-blind)
#4F79C7
Tritanopia (blue-blind)
#A36786
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a652ca;
/* rgb */ color: rgb(166, 82, 202);
/* oklch */ color: oklch(59.2% 0.189 314.5);
Tailwind
colors: {
  custom: {
    50: '#c387db',
    500: '#a652ca',
    950: '#000000',
  },
}
SCSS
$custom: #a652ca;
$custom-light: #c387db;
$custom-dark: #000000;
JSON
{
  "hex": "#a652ca",
  "rgb": {
    "r": 166,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 282,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5918,
    "c": 0.18938,
    "h": 314.5
  },
  "luminance": 0.18406
}

Semantic roles & 50–950 ramp

primary
#A652CA
secondary
#B2D5A3
accent
#DD4B77
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A652CA

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

Preview Lab → · Contrast checker → · Palette generator →

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