#A452CA#A452CA

#A452CA is a mid, vivid purple. Relative luminance 0.182; OKLCH L 58.9% C 0.189 H 313.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A452CA
RGBrgb(164, 82, 202)
HSLhsl(281, 53%, 56%)
HSVhsv(281, 59%, 79%)
CMYKcmyk(18.8%, 59.4%, 0%, 20.8%)
CIE-LABlab(49.73, 53.24, -48.66)
CIE-LCHlch(49.73, 72.13, 317.57°)
OKLaboklab(58.94% 0.1302 -0.1365)
OKLCHoklch(58.94% 0.189 313.6)
XYZxyz(28.9860, 18.1922, 57.8502)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A452CA #78CA52
analogous
#6852CA #A452CA #CA52B4
triadic
#A452CA #CAA452 #52CAA4
tetradic
#A452CA #CA6852 #78CA52 #52B4CA
square
#A452CA #CA6852 #78CA52 #52B4CA
split-complementary
#A452CA #B4CA52 #52CA68
monochromatic
#61267C #8534AB #A452CA #BD81D8 #D5B0E7

Accessibility & contrast

On white

4.53
#A452CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#A452CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A452CA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A452CA#FFFFFF#000000##000000
##A452CA1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B72CE
Deuteranopia (green-blind)
#4D78C7
Tritanopia (blue-blind)
#A16786
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a452ca;
/* rgb */ color: rgb(164, 82, 202);
/* oklch */ color: oklch(58.9% 0.189 313.6);
Tailwind
colors: {
  custom: {
    50: '#c287db',
    500: '#a452ca',
    950: '#000000',
  },
}
SCSS
$custom: #a452ca;
$custom-light: #c287db;
$custom-dark: #000000;
JSON
{
  "hex": "#a452ca",
  "rgb": {
    "r": 164,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 281,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58937,
    "c": 0.1886,
    "h": 313.6
  },
  "luminance": 0.18191
}

Semantic roles & 50–950 ramp

primary
#A452CA
secondary
#B3D5A3
accent
#DD4B79
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A452CA

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

Preview Lab → · Contrast checker → · Palette generator →

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