#A542CE#A542CE

#A542CE is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.4% C 0.215 H 314.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#A542CE
RGBrgb(165, 66, 206)
HSLhsl(282, 59%, 53%)
HSVhsv(282, 68%, 81%)
CMYKcmyk(19.9%, 68%, 0%, 19.2%)
CIE-LABlab(47.43, 61.64, -54.63)
CIE-LCHlch(47.43, 82.37, 318.45°)
OKLaboklab(57.39% 0.1499 -0.1538)
OKLCHoklch(57.39% 0.215 314.3)
XYZxyz(28.6040, 16.3529, 60.0302)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A542CE #6BCE42
analogous
#5F42CE #A542CE #CE42B1
triadic
#A542CE #CEA542 #42CEA5
tetradic
#A542CE #CE5F42 #6BCE42 #42B1CE
square
#A542CE #CE5F42 #6BCE42 #42B1CE
split-complementary
#A542CE #B1CE42 #42CE5F
monochromatic
#5D1F77 #832BA7 #A542CE #BC73DB #D3A3E7

Accessibility & contrast

On white

4.92
#A542CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#A542CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A542CE
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A542CE#FFFFFF#000000##FFFFFF
##A542CE1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#3B73CB
Tritanopia (blue-blind)
#A15E83
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a542ce;
/* rgb */ color: rgb(165, 66, 206);
/* oklch */ color: oklch(57.4% 0.215 314.3);
Tailwind
colors: {
  custom: {
    50: '#c47ede',
    500: '#a542ce',
    950: '#000000',
  },
}
SCSS
$custom: #a542ce;
$custom-light: #c47ede;
$custom-dark: #000000;
JSON
{
  "hex": "#a542ce",
  "rgb": {
    "r": 165,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 282.429,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57385,
    "c": 0.21479,
    "h": 314.3
  },
  "luminance": 0.16352
}

Semantic roles & 50–950 ramp

primary
#A542CE
secondary
#A9D498
accent
#E24674
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A542CE

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

Preview Lab → · Contrast checker → · Palette generator →

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