#A02FA2#A02FA2

#A02FA2 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.1% C 0.197 H 327.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A02FA2
RGBrgb(160, 47, 162)
HSLhsl(299, 55%, 41%)
HSVhsv(299, 71%, 64%)
CMYKcmyk(1.2%, 71%, 0%, 36.5%)
CIE-LABlab(41.40, 59.74, -38.50)
CIE-LCHlch(41.40, 71.07, 327.20°)
OKLaboklab(52.07% 0.1657 -0.1067)
OKLCHoklch(52.07% 0.197 327.2)
XYZxyz(22.0350, 12.1168, 35.3536)
Luminance0.1211 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02FA2 #31A22F
analogous
#662FA2 #A02FA2 #A22F6A
triadic
#A02FA2 #A2A02F #2FA2A0
tetradic
#A02FA2 #A2662F #31A22F #2F6AA2
square
#A02FA2 #A2662F #31A22F #2F6AA2
split-complementary
#A02FA2 #6AA22F #2FA266
monochromatic
#421343 #712173 #A02FA2 #C745C9 #D575D7

Accessibility & contrast

On white

6.13
#A02FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A02FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02FA2
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02FA2#FFFFFF#000000##FFFFFF
##A02FA21.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1958A5
Deuteranopia (green-blind)
#4B679F
Tritanopia (blue-blind)
#A54165
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a02fa2;
/* rgb */ color: rgb(160, 47, 162);
/* oklch */ color: oklch(52.1% 0.197 327.2);
Tailwind
colors: {
  custom: {
    50: '#c072be',
    500: '#a02fa2',
    950: '#000000',
  },
}
SCSS
$custom: #a02fa2;
$custom-light: #c072be;
$custom-dark: #000000;
JSON
{
  "hex": "#a02fa2",
  "rgb": {
    "r": 160,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 298.957,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52067,
    "c": 0.19707,
    "h": 327.2
  },
  "luminance": 0.12115
}

Semantic roles & 50–950 ramp

primary
#A02FA2
secondary
#70BF6E
accent
#DE494C
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A02FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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