#A242D0#A242D0

#A242D0 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.1% C 0.216 H 312.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A242D0
RGBrgb(162, 66, 208)
HSLhsl(281, 60%, 54%)
HSVhsv(281, 68%, 82%)
CMYKcmyk(22.1%, 68.3%, 0%, 18.4%)
CIE-LABlab(47.15, 61.42, -56.26)
CIE-LCHlch(47.15, 83.29, 317.51°)
OKLaboklab(57.14% 0.146 -0.1587)
OKLCHoklch(57.14% 0.216 312.6)
XYZxyz(28.2316, 16.1327, 61.2890)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A242D0 #70D042
analogous
#5B42D0 #A242D0 #D042B7
triadic
#A242D0 #D0A242 #42D0A2
tetradic
#A242D0 #D05B42 #70D042 #42B7D0
square
#A242D0 #D05B42 #70D042 #42B7D0
split-complementary
#A242D0 #B7D042 #42D05B
monochromatic
#5C1E79 #812AAA #A242D0 #BA73DC #D2A4E8

Accessibility & contrast

On white

4.97
#A242D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#A242D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A242D0
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A242D0#FFFFFF#000000##FFFFFF
##A242D01.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD4
Deuteranopia (green-blind)
#3572CD
Tritanopia (blue-blind)
#9D5F84
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a242d0;
/* rgb */ color: rgb(162, 66, 208);
/* oklch */ color: oklch(57.1% 0.216 312.6);
Tailwind
colors: {
  custom: {
    50: '#c27edf',
    500: '#a242d0',
    950: '#000000',
  },
}
SCSS
$custom: #a242d0;
$custom-light: #c27edf;
$custom-dark: #000000;
JSON
{
  "hex": "#a242d0",
  "rgb": {
    "r": 162,
    "g": 66,
    "b": 208
  },
  "hsl": {
    "h": 280.563,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57135,
    "c": 0.21564,
    "h": 312.6
  },
  "luminance": 0.16132
}

Semantic roles & 50–950 ramp

primary
#A242D0
secondary
#ACD599
accent
#E34478
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A242D0

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

Preview Lab → · Contrast checker → · Palette generator →

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