#A542CA#A542CA

#A542CA is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.1% C 0.211 H 315.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#A542CA
RGBrgb(165, 66, 202)
HSLhsl(284, 56%, 53%)
HSVhsv(284, 67%, 79%)
CMYKcmyk(18.3%, 67.3%, 0%, 20.8%)
CIE-LABlab(47.19, 60.83, -52.72)
CIE-LCHlch(47.19, 80.50, 319.09°)
OKLaboklab(57.13% 0.1502 -0.1482)
OKLCHoklch(57.13% 0.211 315.4)
XYZxyz(28.1242, 16.1610, 57.5036)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A542CA #67CA42
analogous
#6142CA #A542CA #CA42AB
triadic
#A542CA #CAA542 #42CAA5
tetradic
#A542CA #CA6142 #67CA42 #42ABCA
square
#A542CA #CA6142 #67CA42 #42ABCA
split-complementary
#A542CA #ABCA42 #42CA61
monochromatic
#5B2072 #822DA2 #A542CA #BC72D7 #D3A2E5

Accessibility & contrast

On white

4.96
#A542CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#A542CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A542CA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A542CA#FFFFFF#000000##FFFFFF
##A542CA1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#3F73C7
Tritanopia (blue-blind)
#A25D81
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a542ca;
/* rgb */ color: rgb(165, 66, 202);
/* oklch */ color: oklch(57.1% 0.211 315.4);
Tailwind
colors: {
  custom: {
    50: '#c37edb',
    500: '#a542ca',
    950: '#000000',
  },
}
SCSS
$custom: #a542ca;
$custom-light: #c37edb;
$custom-dark: #000000;
JSON
{
  "hex": "#a542ca",
  "rgb": {
    "r": 165,
    "g": 66,
    "b": 202
  },
  "hsl": {
    "h": 283.676,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57127,
    "c": 0.21102,
    "h": 315.4
  },
  "luminance": 0.1616
}

Semantic roles & 50–950 ramp

primary
#A542CA
secondary
#A6D196
accent
#DF4871
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A542CA

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

Preview Lab → · Contrast checker → · Palette generator →

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