#A542CD#A542CD

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

Color values

HEX#A542CD
RGBrgb(165, 66, 205)
HSLhsl(283, 58%, 53%)
HSVhsv(283, 68%, 80%)
CMYKcmyk(19.5%, 67.8%, 0%, 19.6%)
CIE-LABlab(47.37, 61.44, -54.15)
CIE-LCHlch(47.37, 81.90, 318.61°)
OKLaboklab(57.32% 0.15 -0.1524)
OKLCHoklch(57.32% 0.214 314.5)
XYZxyz(28.4829, 16.3045, 59.3925)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A542CD #6ACD42
analogous
#5F42CD #A542CD #CD42AF
triadic
#A542CD #CDA542 #42CDA5
tetradic
#A542CD #CD5F42 #6ACD42 #42AFCD
square
#A542CD #CD5F42 #6ACD42 #42AFCD
split-complementary
#A542CD #AFCD42 #42CD5F
monochromatic
#5D1F76 #832CA6 #A542CD #BC72DA #D3A3E7

Accessibility & contrast

On white

4.93
#A542CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#A542CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A542CD
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A542CD#FFFFFF#000000##FFFFFF
##A542CD1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#3D73CA
Tritanopia (blue-blind)
#A25E82
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a542cd;
/* rgb */ color: rgb(165, 66, 205);
/* oklch */ color: oklch(57.3% 0.214 314.5);
Tailwind
colors: {
  custom: {
    50: '#c47edd',
    500: '#a542cd',
    950: '#000000',
  },
}
SCSS
$custom: #a542cd;
$custom-light: #c47edd;
$custom-dark: #000000;
JSON
{
  "hex": "#a542cd",
  "rgb": {
    "r": 165,
    "g": 66,
    "b": 205
  },
  "hsl": {
    "h": 282.734,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5732,
    "c": 0.21384,
    "h": 314.5
  },
  "luminance": 0.16304
}

Semantic roles & 50–950 ramp

primary
#A542CD
secondary
#A9D397
accent
#E14673
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A542CD

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

Preview Lab → · Contrast checker → · Palette generator →

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