#A02FB9#A02FB9

#A02FB9 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.216 H 319.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#A02FB9
RGBrgb(160, 47, 185)
HSLhsl(289, 59%, 45%)
HSVhsv(289, 75%, 73%)
CMYKcmyk(13.5%, 74.6%, 0%, 27.5%)
CIE-LABlab(42.78, 63.85, -49.94)
CIE-LCHlch(42.78, 81.06, 321.97°)
OKLaboklab(53.49% 0.1646 -0.1401)
OKLCHoklch(53.49% 0.216 319.6)
XYZxyz(24.2696, 13.0106, 47.1225)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02FB9 #48B92F
analogous
#5B2FB9 #A02FB9 #B92F8D
triadic
#A02FB9 #B9A02F #2FB9A0
tetradic
#A02FB9 #B95B2F #48B92F #2F8DB9
square
#A02FB9 #B95B2F #48B92F #2F8DB9
split-complementary
#A02FB9 #8DB92F #2FB95B
monochromatic
#4C1657 #762388 #A02FB9 #BC52D3 #CF83DF

Accessibility & contrast

On white

5.83
#A02FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#A02FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02FB9
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02FB9#FFFFFF#000000##FFFFFF
##A02FB91.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#3A69B6
Tritanopia (blue-blind)
#A04B72
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a02fb9;
/* rgb */ color: rgb(160, 47, 185);
/* oklch */ color: oklch(53.5% 0.216 319.6);
Tailwind
colors: {
  custom: {
    50: '#c073cf',
    500: '#a02fb9',
    950: '#000000',
  },
}
SCSS
$custom: #a02fb9;
$custom-light: #c073cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a02fb9",
  "rgb": {
    "r": 160,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 289.13,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53492,
    "c": 0.21614,
    "h": 319.6
  },
  "luminance": 0.13009
}

Semantic roles & 50–950 ramp

primary
#A02FB9
secondary
#89C97B
accent
#E34562
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A02FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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