#A02B8D#A02B8D

#A02B8D is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.186 H 335.4°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A02B8D
RGBrgb(160, 43, 141)
HSLhsl(310, 58%, 40%)
HSVhsv(310, 73%, 63%)
CMYKcmyk(0%, 73.1%, 11.9%, 37.3%)
CIE-LABlab(39.79, 57.75, -28.33)
CIE-LCHlch(39.79, 64.32, 333.87°)
OKLaboklab(50.55% 0.1687 -0.0773)
OKLCHoklch(50.55% 0.186 335.4)
XYZxyz(20.1691, 11.1262, 26.2795)
Luminance0.1112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02B8D #2BA03E
analogous
#792BA0 #A02B8D #A02B52
triadic
#A02B8D #8DA02B #2B8DA0
tetradic
#A02B8D #A0792B #2BA03E #2B52A0
square
#A02B8D #A0792B #2BA03E #2B52A0
split-complementary
#A02B8D #52A02B #2BA079
monochromatic
#401138 #701E62 #A02B8D #CB3DB4 #D86EC7

Accessibility & contrast

On white

6.51
#A02B8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A02B8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02B8D
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02B8D#FFFFFF#000000##FFFFFF
##A02B8D1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5390
Deuteranopia (green-blind)
#54648A
Tritanopia (blue-blind)
#A83459
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a02b8d;
/* rgb */ color: rgb(160, 43, 141);
/* oklch */ color: oklch(50.5% 0.186 335.4);
Tailwind
colors: {
  custom: {
    50: '#c070ae',
    500: '#a02b8d',
    950: '#000000',
  },
}
SCSS
$custom: #a02b8d;
$custom-light: #c070ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a02b8d",
  "rgb": {
    "r": 160,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 309.744,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50548,
    "c": 0.18559,
    "h": 335.4
  },
  "luminance": 0.11124
}

Semantic roles & 50–950 ramp

primary
#A02B8D
secondary
#68BF76
accent
#E16047
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A02B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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