#A452CB#A452CB

#A452CB is a mid, vivid purple. Relative luminance 0.182; OKLCH L 59.0% C 0.190 H 313.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A452CB
RGBrgb(164, 82, 203)
HSLhsl(281, 54%, 56%)
HSVhsv(281, 60%, 80%)
CMYKcmyk(19.2%, 59.6%, 0%, 20.4%)
CIE-LABlab(49.79, 53.45, -49.14)
CIE-LCHlch(49.79, 72.61, 317.40°)
OKLaboklab(59% 0.1302 -0.1379)
OKLCHoklch(59% 0.19 313.4)
XYZxyz(29.1048, 18.2397, 58.4758)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A452CB #79CB52
analogous
#6752CB #A452CB #CB52B5
triadic
#A452CB #CBA452 #52CBA4
tetradic
#A452CB #CB6752 #79CB52 #52B5CB
square
#A452CB #CB6752 #79CB52 #52B5CB
split-complementary
#A452CB #B5CB52 #52CB67
monochromatic
#61267D #8534AC #A452CB #BD81D9 #D6B0E7

Accessibility & contrast

On white

4.52
#A452CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#A452CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A452CB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A452CB#FFFFFF#000000##000000
##A452CB1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A72CF
Deuteranopia (green-blind)
#4C78C8
Tritanopia (blue-blind)
#A06887
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a452cb;
/* rgb */ color: rgb(164, 82, 203);
/* oklch */ color: oklch(59.0% 0.190 313.4);
Tailwind
colors: {
  custom: {
    50: '#c287db',
    500: '#a452cb',
    950: '#000000',
  },
}
SCSS
$custom: #a452cb;
$custom-light: #c287db;
$custom-dark: #000000;
JSON
{
  "hex": "#a452cb",
  "rgb": {
    "r": 164,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 280.661,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58997,
    "c": 0.18963,
    "h": 313.4
  },
  "luminance": 0.18239
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A452CB

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

Preview Lab → · Contrast checker → · Palette generator →

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