#A652CB#A652CB

#A652CB is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.2% C 0.190 H 314.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A652CB
RGBrgb(166, 82, 203)
HSLhsl(282, 54%, 56%)
HSVhsv(282, 60%, 80%)
CMYKcmyk(18.2%, 59.6%, 0%, 20.4%)
CIE-LABlab(50.04, 53.94, -48.72)
CIE-LCHlch(50.04, 72.69, 317.91°)
OKLaboklab(59.24% 0.1327 -0.1366)
OKLCHoklch(59.24% 0.19 314.2)
XYZxyz(29.5209, 18.4543, 58.4953)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A652CB #77CB52
analogous
#6952CB #A652CB #CB52B3
triadic
#A652CB #CBA652 #52CBA6
tetradic
#A652CB #CB6952 #77CB52 #52B3CB
square
#A652CB #CB6952 #77CB52 #52B3CB
split-complementary
#A652CB #B3CB52 #52CB69
monochromatic
#62267D #8734AC #A652CB #BE81D9 #D6B0E7

Accessibility & contrast

On white

4.48
#A652CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#A652CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A652CB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A652CB#FFFFFF#000000##000000
##A652CB1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B72CF
Deuteranopia (green-blind)
#4E79C8
Tritanopia (blue-blind)
#A36787
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a652cb;
/* rgb */ color: rgb(166, 82, 203);
/* oklch */ color: oklch(59.2% 0.190 314.2);
Tailwind
colors: {
  custom: {
    50: '#c387db',
    500: '#a652cb',
    950: '#000000',
  },
}
SCSS
$custom: #a652cb;
$custom-light: #c387db;
$custom-dark: #000000;
JSON
{
  "hex": "#a652cb",
  "rgb": {
    "r": 166,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 281.653,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59239,
    "c": 0.19041,
    "h": 314.2
  },
  "luminance": 0.18453
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A652CB

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

Preview Lab → · Contrast checker → · Palette generator →

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