#A242AE#A242AE

#A242AE is a mid, vivid purple. Relative luminance 0.146; OKLCH L 55.0% C 0.184 H 323.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#A242AE
RGBrgb(162, 66, 174)
HSLhsl(293, 45%, 47%)
HSVhsv(293, 62%, 68%)
CMYKcmyk(6.9%, 62.1%, 0%, 31.8%)
CIE-LABlab(45.13, 54.66, -39.69)
CIE-LCHlch(45.13, 67.55, 324.01°)
OKLaboklab(55.03% 0.1469 -0.1103)
OKLCHoklch(55.03% 0.184 323.1)
XYZxyz(24.4877, 14.6351, 41.5712)
Luminance0.1463 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A242AE #4EAE42
analogous
#6C42AE #A242AE #AE4284
triadic
#A242AE #AEA242 #42AEA2
tetradic
#A242AE #AE6C42 #4EAE42 #4284AE
square
#A242AE #AE6C42 #4EAE42 #4284AE
split-complementary
#A242AE #84AE42 #42AE6C
monochromatic
#4F2055 #793182 #A242AE #BB68C6 #CF94D6

Accessibility & contrast

On white

5.35
#A242AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#A242AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A242AE
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A242AE#FFFFFF#000000##FFFFFF
##A242AE1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C64B1
Deuteranopia (green-blind)
#516FAB
Tritanopia (blue-blind)
#A55272
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a242ae;
/* rgb */ color: rgb(162, 66, 174);
/* oklch */ color: oklch(55.0% 0.184 323.1);
Tailwind
colors: {
  custom: {
    50: '#c07dc6',
    500: '#a242ae',
    950: '#000000',
  },
}
SCSS
$custom: #a242ae;
$custom-light: #c07dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#a242ae",
  "rgb": {
    "r": 162,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 293.333,
    "s": 45,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55033,
    "c": 0.18366,
    "h": 323.1
  },
  "luminance": 0.14634
}

Semantic roles & 50–950 ramp

primary
#A242AE
secondary
#90C28A
accent
#D55362
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A242AE

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

Preview Lab → · Contrast checker → · Palette generator →

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