#A542CF#A542CF

#A542CF is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.5% C 0.216 H 314.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#A542CF
RGBrgb(165, 66, 207)
HSLhsl(282, 59%, 54%)
HSVhsv(282, 68%, 81%)
CMYKcmyk(20.3%, 68.1%, 0%, 18.8%)
CIE-LABlab(47.50, 61.85, -55.10)
CIE-LCHlch(47.50, 82.83, 318.30°)
OKLaboklab(57.45% 0.1498 -0.1552)
OKLCHoklch(57.45% 0.216 314)
XYZxyz(28.7258, 16.4017, 60.6720)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A542CF #6CCF42
analogous
#5E42CF #A542CF #CF42B2
triadic
#A542CF #CFA542 #42CFA5
tetradic
#A542CF #CF5E42 #6CCF42 #42B2CF
square
#A542CF #CF5E42 #6CCF42 #42B2CF
split-complementary
#A542CF #B2CF42 #42CF5E
monochromatic
#5D1F78 #832BA9 #A542CF #BC73DB #D3A4E8

Accessibility & contrast

On white

4.91
#A542CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#A542CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A542CF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A542CF#FFFFFF#000000##FFFFFF
##A542CF1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#3A73CC
Tritanopia (blue-blind)
#A15F84
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a542cf;
/* rgb */ color: rgb(165, 66, 207);
/* oklch */ color: oklch(57.5% 0.216 314.0);
Tailwind
colors: {
  custom: {
    50: '#c47ede',
    500: '#a542cf',
    950: '#000000',
  },
}
SCSS
$custom: #a542cf;
$custom-light: #c47ede;
$custom-dark: #000000;
JSON
{
  "hex": "#a542cf",
  "rgb": {
    "r": 165,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 282.128,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5745,
    "c": 0.21573,
    "h": 314
  },
  "luminance": 0.16401
}

Semantic roles & 50–950 ramp

primary
#A542CF
secondary
#AAD598
accent
#E34574
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A542CF

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

Preview Lab → · Contrast checker → · Palette generator →

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