#A02FA8#A02FA8

#A02FA8 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.202 H 325.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A02FA8
RGBrgb(160, 47, 168)
HSLhsl(296, 56%, 42%)
HSVhsv(296, 72%, 66%)
CMYKcmyk(4.8%, 72%, 0%, 34.1%)
CIE-LABlab(41.74, 60.78, -41.54)
CIE-LCHlch(41.74, 73.62, 325.65°)
OKLaboklab(52.42% 0.1656 -0.1156)
OKLCHoklch(52.42% 0.202 325.1)
XYZxyz(22.5811, 12.3352, 38.2298)
Luminance0.1233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02FA8 #37A82F
analogous
#642FA8 #A02FA8 #A82F74
triadic
#A02FA8 #A8A02F #2FA8A0
tetradic
#A02FA8 #A8642F #37A82F #2F74A8
square
#A02FA8 #A8642F #37A82F #2F74A8
split-complementary
#A02FA8 #74A82F #2FA864
monochromatic
#451448 #722278 #A02FA8 #C348CC #D378D9

Accessibility & contrast

On white

6.06
#A02FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#A02FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02FA8
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02FA8#FFFFFF#000000##FFFFFF
##A02FA81.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5AAB
Deuteranopia (green-blind)
#4867A5
Tritanopia (blue-blind)
#A44369
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a02fa8;
/* rgb */ color: rgb(160, 47, 168);
/* oklch */ color: oklch(52.4% 0.202 325.1);
Tailwind
colors: {
  custom: {
    50: '#c073c2',
    500: '#a02fa8',
    950: '#000000',
  },
}
SCSS
$custom: #a02fa8;
$custom-light: #c073c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a02fa8",
  "rgb": {
    "r": 160,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 296.033,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52423,
    "c": 0.20196,
    "h": 325.1
  },
  "luminance": 0.12334
}

Semantic roles & 50–950 ramp

primary
#A02FA8
secondary
#77C171
accent
#E04852
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A02FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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