#A02B98#A02B98

#A02B98 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.1% C 0.194 H 331.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A02B98
RGBrgb(160, 43, 152)
HSLhsl(304, 58%, 40%)
HSVhsv(304, 73%, 63%)
CMYKcmyk(0%, 73.1%, 5%, 37.3%)
CIE-LABlab(40.36, 59.47, -34.12)
CIE-LCHlch(40.36, 68.57, 330.15°)
OKLaboklab(51.14% 0.1695 -0.094)
OKLCHoklch(51.14% 0.194 331)
XYZxyz(21.0285, 11.4700, 30.8061)
Luminance0.1147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02B98 #2BA033
analogous
#6E2BA0 #A02B98 #A02B5D
triadic
#A02B98 #98A02B #2B98A0
tetradic
#A02B98 #A06E2B #2BA033 #2B5DA0
square
#A02B98 #A06E2B #2BA033 #2B5DA0
split-complementary
#A02B98 #5DA02B #2BA06E
monochromatic
#40113C #701E6A #A02B98 #CB3DC1 #D86ED1

Accessibility & contrast

On white

6.38
#A02B98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A02B98
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02B98#FFFFFF#000000##FFFFFF
##A02B981.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20559B
Deuteranopia (green-blind)
#4F6595
Tritanopia (blue-blind)
#A6395F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a02b98;
/* rgb */ color: rgb(160, 43, 152);
/* oklch */ color: oklch(51.1% 0.194 331.0);
Tailwind
colors: {
  custom: {
    50: '#c070b7',
    500: '#a02b98',
    950: '#000000',
  },
}
SCSS
$custom: #a02b98;
$custom-light: #c070b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a02b98",
  "rgb": {
    "r": 160,
    "g": 43,
    "b": 152
  },
  "hsl": {
    "h": 304.103,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51143,
    "c": 0.19378,
    "h": 331
  },
  "luminance": 0.11468
}

Semantic roles & 50–950 ramp

primary
#A02B98
secondary
#68BF6E
accent
#E15147
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A02B98

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

Preview Lab → · Contrast checker → · Palette generator →

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