#A02F9F#A02F9F

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

Color values

HEX#A02F9F
RGBrgb(160, 47, 159)
HSLhsl(301, 55%, 41%)
HSVhsv(301, 71%, 63%)
CMYKcmyk(0%, 70.6%, 0.6%, 37.3%)
CIE-LABlab(41.23, 59.23, -36.96)
CIE-LCHlch(41.23, 69.82, 328.03°)
OKLaboklab(51.89% 0.1657 -0.1023)
OKLCHoklch(51.89% 0.195 328.3)
XYZxyz(21.7715, 12.0114, 33.9659)
Luminance0.1201 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02F9F #2FA030
analogous
#682FA0 #A02F9F #A02F66
triadic
#A02F9F #9FA02F #2F9FA0
tetradic
#A02F9F #A0682F #2FA030 #2F66A0
square
#A02F9F #A0682F #2FA030 #2F66A0
split-complementary
#A02F9F #66A02F #2FA068
monochromatic
#411341 #712170 #A02F9F #C844C7 #D673D5

Accessibility & contrast

On white

6.17
#A02F9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A02F9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02F9F
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02F9F#FFFFFF#000000##FFFFFF
##A02F9F1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D58A2
Deuteranopia (green-blind)
#4D669C
Tritanopia (blue-blind)
#A53F64
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a02f9f;
/* rgb */ color: rgb(160, 47, 159);
/* oklch */ color: oklch(51.9% 0.195 328.3);
Tailwind
colors: {
  custom: {
    50: '#c072bc',
    500: '#a02f9f',
    950: '#000000',
  },
}
SCSS
$custom: #a02f9f;
$custom-light: #c072bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a02f9f",
  "rgb": {
    "r": 160,
    "g": 47,
    "b": 159
  },
  "hsl": {
    "h": 300.531,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51893,
    "c": 0.19467,
    "h": 328.3
  },
  "luminance": 0.1201
}

Semantic roles & 50–950 ramp

primary
#A02F9F
secondary
#6DBE6E
accent
#DE4B4A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A02F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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