#A241A2#A241A2

#A241A2 is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.3% C 0.174 H 327.6°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#A241A2
RGBrgb(162, 65, 162)
HSLhsl(300, 43%, 45%)
HSVhsv(300, 60%, 64%)
CMYKcmyk(0%, 59.9%, 0%, 36.5%)
CIE-LABlab(44.34, 52.91, -33.84)
CIE-LCHlch(44.34, 62.80, 327.40°)
OKLaboklab(54.25% 0.1473 -0.0933)
OKLCHoklch(54.25% 0.174 327.6)
XYZxyz(23.3118, 14.0721, 35.6637)
Luminance0.1407 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A241A2 #41A241
analogous
#7241A2 #A241A2 #A24172
triadic
#A241A2 #A2A241 #41A2A2
tetradic
#A241A2 #A27241 #41A241 #4172A2
square
#A241A2 #A27241 #41A241 #4172A2
split-complementary
#A241A2 #72A241 #41A272
monochromatic
#4B1E4B #762F76 #A241A2 #BF61BF #D18CD1

Accessibility & contrast

On white

5.51
#A241A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#A241A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A241A2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A241A2#FFFFFF#000000##FFFFFF
##A241A21.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3661A5
Deuteranopia (green-blind)
#576D9F
Tritanopia (blue-blind)
#A74D6B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a241a2;
/* rgb */ color: rgb(162, 65, 162);
/* oklch */ color: oklch(54.3% 0.174 327.6);
Tailwind
colors: {
  custom: {
    50: '#c07cbe',
    500: '#a241a2',
    950: '#000000',
  },
}
SCSS
$custom: #a241a2;
$custom-light: #c07cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#a241a2",
  "rgb": {
    "r": 162,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 300,
    "s": 42.731,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54251,
    "c": 0.17438,
    "h": 327.6
  },
  "luminance": 0.14071
}

Semantic roles & 50–950 ramp

primary
#A241A2
secondary
#83BC83
accent
#D35555
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #A241A2

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

Preview Lab → · Contrast checker → · Palette generator →

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