#A02FBB#A02FBB

#A02FBB is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.6% C 0.218 H 319.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#A02FBB
RGBrgb(160, 47, 187)
HSLhsl(288, 60%, 46%)
HSVhsv(288, 75%, 73%)
CMYKcmyk(14.4%, 74.9%, 0%, 26.7%)
CIE-LABlab(42.91, 64.22, -50.91)
CIE-LCHlch(42.91, 81.95, 321.60°)
OKLaboklab(53.62% 0.1644 -0.1429)
OKLCHoklch(53.62% 0.218 319)
XYZxyz(24.4822, 13.0957, 48.2422)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02FBB #4ABB2F
analogous
#5A2FBB #A02FBB #BB2F90
triadic
#A02FBB #BBA02F #2FBBA0
tetradic
#A02FBB #BB5A2F #4ABB2F #2F90BB
square
#A02FBB #BB5A2F #4ABB2F #2F90BB
split-complementary
#A02FBB #90BB2F #2FBB5A
monochromatic
#4C1659 #76238A #A02FBB #BB53D4 #CE84E0

Accessibility & contrast

On white

5.80
#A02FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#A02FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02FBB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02FBB#FFFFFF#000000##FFFFFF
##A02FBB1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#3969B8
Tritanopia (blue-blind)
#A04C73
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a02fbb;
/* rgb */ color: rgb(160, 47, 187);
/* oklch */ color: oklch(53.6% 0.218 319.0);
Tailwind
colors: {
  custom: {
    50: '#c073d0',
    500: '#a02fbb',
    950: '#000000',
  },
}
SCSS
$custom: #a02fbb;
$custom-light: #c073d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a02fbb",
  "rgb": {
    "r": 160,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 288.429,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53624,
    "c": 0.21784,
    "h": 319
  },
  "luminance": 0.13094
}

Semantic roles & 50–950 ramp

primary
#A02FBB
secondary
#8BC97C
accent
#E34563
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A02FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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