#A02FB8#A02FB8

#A02FB8 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.4% C 0.215 H 319.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#A02FB8
RGBrgb(160, 47, 184)
HSLhsl(289, 59%, 45%)
HSVhsv(289, 74%, 72%)
CMYKcmyk(13%, 74.5%, 0%, 27.8%)
CIE-LABlab(42.72, 63.66, -49.45)
CIE-LCHlch(42.72, 80.61, 322.16°)
OKLaboklab(53.43% 0.1647 -0.1387)
OKLCHoklch(53.43% 0.215 319.9)
XYZxyz(24.1644, 12.9685, 46.5685)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02FB8 #47B82F
analogous
#5B2FB8 #A02FB8 #B82F8B
triadic
#A02FB8 #B8A02F #2FB8A0
tetradic
#A02FB8 #B85B2F #47B82F #2F8BB8
square
#A02FB8 #B85B2F #47B82F #2F8BB8
split-complementary
#A02FB8 #8BB82F #2FB85B
monochromatic
#4B1657 #762387 #A02FB8 #BC52D3 #CF82DF

Accessibility & contrast

On white

5.84
#A02FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#A02FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02FB8
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02FB8#FFFFFF#000000##FFFFFF
##A02FB81.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a02fb8;
/* rgb */ color: rgb(160, 47, 184);
/* oklch */ color: oklch(53.4% 0.215 319.9);
Tailwind
colors: {
  custom: {
    50: '#c073ce',
    500: '#a02fb8',
    950: '#000000',
  },
}
SCSS
$custom: #a02fb8;
$custom-light: #c073ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a02fb8",
  "rgb": {
    "r": 160,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 289.489,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53427,
    "c": 0.21529,
    "h": 319.9
  },
  "luminance": 0.12967
}

Semantic roles & 50–950 ramp

primary
#A02FB8
secondary
#88C87B
accent
#E24561
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A02FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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