#A02B97#A02B97

#A02B97 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.1% C 0.193 H 331.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A02B97
RGBrgb(160, 43, 151)
HSLhsl(305, 58%, 40%)
HSVhsv(305, 73%, 63%)
CMYKcmyk(0%, 73.1%, 5.6%, 37.3%)
CIE-LABlab(40.31, 59.31, -33.60)
CIE-LCHlch(40.31, 68.17, 330.47°)
OKLaboklab(51.09% 0.1694 -0.0925)
OKLCHoklch(51.09% 0.193 331.4)
XYZxyz(20.9470, 11.4374, 30.3765)
Luminance0.1144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02B97 #2BA034
analogous
#6E2BA0 #A02B97 #A02B5D
triadic
#A02B97 #97A02B #2B97A0
tetradic
#A02B97 #A06E2B #2BA034 #2B5DA0
square
#A02B97 #A06E2B #2BA034 #2B5DA0
split-complementary
#A02B97 #5DA02B #2BA06E
monochromatic
#40113C #701E69 #A02B97 #CB3DC0 #D86ED0

Accessibility & contrast

On white

6.39
#A02B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A02B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02B97
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02B97#FFFFFF#000000##FFFFFF
##A02B971.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21559A
Deuteranopia (green-blind)
#506594
Tritanopia (blue-blind)
#A7395E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a02b97;
/* rgb */ color: rgb(160, 43, 151);
/* oklch */ color: oklch(51.1% 0.193 331.4);
Tailwind
colors: {
  custom: {
    50: '#c070b6',
    500: '#a02b97',
    950: '#000000',
  },
}
SCSS
$custom: #a02b97;
$custom-light: #c070b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a02b97",
  "rgb": {
    "r": 160,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 304.615,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51087,
    "c": 0.19302,
    "h": 331.4
  },
  "luminance": 0.11436
}

Semantic roles & 50–950 ramp

primary
#A02B97
secondary
#68BF6F
accent
#E15347
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A02B97

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

Preview Lab → · Contrast checker → · Palette generator →

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