#A02B9B#A02B9B

#A02B9B is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.196 H 329.8°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A02B9B
RGBrgb(160, 43, 155)
HSLhsl(303, 58%, 40%)
HSVhsv(303, 73%, 63%)
CMYKcmyk(0%, 73.1%, 3.1%, 37.3%)
CIE-LABlab(40.52, 59.96, -35.68)
CIE-LCHlch(40.52, 69.77, 329.25°)
OKLaboklab(51.31% 0.1695 -0.0985)
OKLCHoklch(51.31% 0.196 329.8)
XYZxyz(21.2774, 11.5695, 32.1165)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02B9B #2BA030
analogous
#6A2BA0 #A02B9B #A02B61
triadic
#A02B9B #9BA02B #2B9BA0
tetradic
#A02B9B #A06A2B #2BA030 #2B61A0
square
#A02B9B #A06A2B #2BA030 #2B61A0
split-complementary
#A02B9B #61A02B #2BA06A
monochromatic
#40113E #701E6C #A02B9B #CB3DC5 #D86ED3

Accessibility & contrast

On white

6.34
#A02B9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A02B9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02B9B
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02B9B#FFFFFF#000000##FFFFFF
##A02B9B1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C559E
Deuteranopia (green-blind)
#4D6598
Tritanopia (blue-blind)
#A63B60
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a02b9b;
/* rgb */ color: rgb(160, 43, 155);
/* oklch */ color: oklch(51.3% 0.196 329.8);
Tailwind
colors: {
  custom: {
    50: '#c070b9',
    500: '#a02b9b',
    950: '#000000',
  },
}
SCSS
$custom: #a02b9b;
$custom-light: #c070b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a02b9b",
  "rgb": {
    "r": 160,
    "g": 43,
    "b": 155
  },
  "hsl": {
    "h": 302.564,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51312,
    "c": 0.19608,
    "h": 329.8
  },
  "luminance": 0.11568
}

Semantic roles & 50–950 ramp

primary
#A02B9B
secondary
#68BF6C
accent
#E14E47
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A02B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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