#A542CC#A542CC

#A542CC is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.3% C 0.213 H 314.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#A542CC
RGBrgb(165, 66, 204)
HSLhsl(283, 58%, 53%)
HSVhsv(283, 68%, 80%)
CMYKcmyk(19.1%, 67.6%, 0%, 20%)
CIE-LABlab(47.31, 61.24, -53.68)
CIE-LCHlch(47.31, 81.43, 318.77°)
OKLaboklab(57.26% 0.1501 -0.151)
OKLCHoklch(57.26% 0.213 314.8)
XYZxyz(28.3626, 16.2564, 58.7588)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A542CC #69CC42
analogous
#6042CC #A542CC #CC42AE
triadic
#A542CC #CCA542 #42CCA5
tetradic
#A542CC #CC6042 #69CC42 #42AECC
square
#A542CC #CC6042 #69CC42 #42AECC
split-complementary
#A542CC #AECC42 #42CC60
monochromatic
#5C1F74 #822CA4 #A542CC #BC72D9 #D3A2E6

Accessibility & contrast

On white

4.94
#A542CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#A542CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A542CC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A542CC#FFFFFF#000000##FFFFFF
##A542CC1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#3E73C9
Tritanopia (blue-blind)
#A25D82
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a542cc;
/* rgb */ color: rgb(165, 66, 204);
/* oklch */ color: oklch(57.3% 0.213 314.8);
Tailwind
colors: {
  custom: {
    50: '#c47edc',
    500: '#a542cc',
    950: '#000000',
  },
}
SCSS
$custom: #a542cc;
$custom-light: #c47edc;
$custom-dark: #000000;
JSON
{
  "hex": "#a542cc",
  "rgb": {
    "r": 165,
    "g": 66,
    "b": 204
  },
  "hsl": {
    "h": 283.043,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57255,
    "c": 0.2129,
    "h": 314.8
  },
  "luminance": 0.16255
}

Semantic roles & 50–950 ramp

primary
#A542CC
secondary
#A8D397
accent
#E14772
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A542CC

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

Preview Lab → · Contrast checker → · Palette generator →

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