#A452C8#A452C8

#A452C8 is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.8% C 0.187 H 314.2°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A452C8
RGBrgb(164, 82, 200)
HSLhsl(282, 52%, 55%)
HSVhsv(282, 59%, 78%)
CMYKcmyk(18%, 59%, 0%, 21.6%)
CIE-LABlab(49.61, 52.82, -47.69)
CIE-LCHlch(49.61, 71.16, 317.92°)
OKLaboklab(58.82% 0.1301 -0.1336)
OKLCHoklch(58.82% 0.187 314.2)
XYZxyz(28.7507, 18.0981, 56.6112)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A452C8 #76C852
analogous
#6952C8 #A452C8 #C852B1
triadic
#A452C8 #C8A452 #52C8A4
tetradic
#A452C8 #C86952 #76C852 #52B1C8
square
#A452C8 #C86952 #76C852 #52B1C8
split-complementary
#A452C8 #B1C852 #52C869
monochromatic
#602779 #8535A8 #A452C8 #BC80D7 #D5AFE6

Accessibility & contrast

On white

4.55
#A452C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#A452C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A452C8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A452C8#FFFFFF#000000##000000
##A452C81.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E71CC
Deuteranopia (green-blind)
#4F78C5
Tritanopia (blue-blind)
#A16785
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a452c8;
/* rgb */ color: rgb(164, 82, 200);
/* oklch */ color: oklch(58.8% 0.187 314.2);
Tailwind
colors: {
  custom: {
    50: '#c287d9',
    500: '#a452c8',
    950: '#000000',
  },
}
SCSS
$custom: #a452c8;
$custom-light: #c287d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a452c8",
  "rgb": {
    "r": 164,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 281.695,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58818,
    "c": 0.18652,
    "h": 314.2
  },
  "luminance": 0.18097
}

Semantic roles & 50–950 ramp

primary
#A452C8
secondary
#B1D4A2
accent
#DB4D78
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B15
muted
#827C83

Preview Lab

Preview with #A452C8

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

Preview Lab → · Contrast checker → · Palette generator →

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