#A02BA7#A02BA7

#A02BA7 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.206 H 325.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A02BA7
RGBrgb(160, 43, 167)
HSLhsl(297, 59%, 41%)
HSVhsv(297, 74%, 65%)
CMYKcmyk(4.2%, 74.3%, 0%, 34.5%)
CIE-LABlab(41.20, 61.98, -41.80)
CIE-LCHlch(41.20, 74.75, 326.00°)
OKLaboklab(52.02% 0.1695 -0.1163)
OKLCHoklch(52.02% 0.206 325.5)
XYZxyz(22.3356, 11.9928, 37.6901)
Luminance0.1199 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02BA7 #32A72B
analogous
#622BA7 #A02BA7 #A72B70
triadic
#A02BA7 #A7A02B #2BA7A0
tetradic
#A02BA7 #A7622B #32A72B #2B70A7
square
#A02BA7 #A7622B #32A72B #2B70A7
split-complementary
#A02BA7 #70A72B #2BA762
monochromatic
#431246 #711E76 #A02BA7 #C641CE #D572DB

Accessibility & contrast

On white

6.18
#A02BA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A02BA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02BA7
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02BA7#FFFFFF#000000##FFFFFF
##A02BA71.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AA
Deuteranopia (green-blind)
#4666A4
Tritanopia (blue-blind)
#A44067
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a02ba7;
/* rgb */ color: rgb(160, 43, 167);
/* oklch */ color: oklch(52.0% 0.206 325.5);
Tailwind
colors: {
  custom: {
    50: '#c071c2',
    500: '#a02ba7',
    950: '#000000',
  },
}
SCSS
$custom: #a02ba7;
$custom-light: #c071c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a02ba7",
  "rgb": {
    "r": 160,
    "g": 43,
    "b": 167
  },
  "hsl": {
    "h": 296.613,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52019,
    "c": 0.20552,
    "h": 325.5
  },
  "luminance": 0.11991
}

Semantic roles & 50–950 ramp

primary
#A02BA7
secondary
#71C26C
accent
#E2464E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A02BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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