#A242D2#A242D2

#A242D2 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.3% C 0.218 H 312.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#A242D2
RGBrgb(162, 66, 210)
HSLhsl(280, 62%, 54%)
HSVhsv(280, 69%, 82%)
CMYKcmyk(22.9%, 68.6%, 0%, 17.6%)
CIE-LABlab(47.28, 61.83, -57.20)
CIE-LCHlch(47.28, 84.23, 317.23°)
OKLaboklab(57.27% 0.1458 -0.1615)
OKLCHoklch(57.27% 0.218 312.1)
XYZxyz(28.4792, 16.2317, 62.5931)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A242D2 #72D242
analogous
#5A42D2 #A242D2 #D242BA
triadic
#A242D2 #D2A242 #42D2A2
tetradic
#A242D2 #D25A42 #72D242 #42BAD2
square
#A242D2 #D25A42 #72D242 #42BAD2
split-complementary
#A242D2 #BAD242 #42D25A
monochromatic
#5D1E7C #8129AD #A242D2 #BA73DE #D3A5EA

Accessibility & contrast

On white

4.95
#A242D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A242D2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A242D2#FFFFFF#000000##FFFFFF
##A242D21.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#3372CF
Tritanopia (blue-blind)
#9C6085
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a242d2;
/* rgb */ color: rgb(162, 66, 210);
/* oklch */ color: oklch(57.3% 0.218 312.1);
Tailwind
colors: {
  custom: {
    50: '#c27ee1',
    500: '#a242d2',
    950: '#000000',
  },
}
SCSS
$custom: #a242d2;
$custom-light: #c27ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#a242d2",
  "rgb": {
    "r": 162,
    "g": 66,
    "b": 210
  },
  "hsl": {
    "h": 280,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57268,
    "c": 0.21755,
    "h": 312.1
  },
  "luminance": 0.16231
}

Semantic roles & 50–950 ramp

primary
#A242D2
secondary
#AED799
accent
#E54379
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A242D2

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

Preview Lab → · Contrast checker → · Palette generator →

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