#A02FA0#A02FA0

#A02FA0 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 52.0% C 0.195 H 327.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A02FA0
RGBrgb(160, 47, 160)
HSLhsl(300, 55%, 41%)
HSVhsv(300, 71%, 63%)
CMYKcmyk(0%, 70.6%, 0%, 37.3%)
CIE-LABlab(41.29, 59.40, -37.47)
CIE-LCHlch(41.29, 70.23, 327.75°)
OKLaboklab(51.95% 0.1657 -0.1037)
OKLCHoklch(51.95% 0.195 327.9)
XYZxyz(21.8586, 12.0462, 34.4248)
Luminance0.1205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02FA0 #2FA02F
analogous
#672FA0 #A02FA0 #A02F67
triadic
#A02FA0 #A0A02F #2FA0A0
tetradic
#A02FA0 #A0672F #2FA02F #2F67A0
square
#A02FA0 #A0672F #2FA02F #2F67A0
split-complementary
#A02FA0 #67A02F #2FA067
monochromatic
#411341 #712171 #A02FA0 #C844C8 #D673D6

Accessibility & contrast

On white

6.16
#A02FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A02FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02FA0
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02FA0#FFFFFF#000000##FFFFFF
##A02FA01.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C58A3
Deuteranopia (green-blind)
#4D669D
Tritanopia (blue-blind)
#A54064
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a02fa0;
/* rgb */ color: rgb(160, 47, 160);
/* oklch */ color: oklch(52.0% 0.195 327.9);
Tailwind
colors: {
  custom: {
    50: '#c072bc',
    500: '#a02fa0',
    950: '#000000',
  },
}
SCSS
$custom: #a02fa0;
$custom-light: #c072bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a02fa0",
  "rgb": {
    "r": 160,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 300,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51951,
    "c": 0.19546,
    "h": 327.9
  },
  "luminance": 0.12045
}

Semantic roles & 50–950 ramp

primary
#A02FA0
secondary
#6DBE6D
accent
#DE4A4A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A02FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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