#A02FBC#A02FBC

#A02FBC is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.219 H 318.7°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#A02FBC
RGBrgb(160, 47, 188)
HSLhsl(288, 60%, 46%)
HSVhsv(288, 75%, 74%)
CMYKcmyk(14.9%, 75%, 0%, 26.3%)
CIE-LABlab(42.97, 64.41, -51.39)
CIE-LCHlch(42.97, 82.40, 321.42°)
OKLaboklab(53.69% 0.1643 -0.1444)
OKLCHoklch(53.69% 0.219 318.7)
XYZxyz(24.5896, 13.1386, 48.8080)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02FBC #4BBC2F
analogous
#592FBC #A02FBC #BC2F91
triadic
#A02FBC #BCA02F #2FBCA0
tetradic
#A02FBC #BC592F #4BBC2F #2F91BC
square
#A02FBC #BC592F #4BBC2F #2F91BC
split-complementary
#A02FBC #91BC2F #2FBC59
monochromatic
#4D175A #76238B #A02FBC #BB54D4 #CE85E0

Accessibility & contrast

On white

5.79
#A02FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#A02FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02FBC
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02FBC#FFFFFF#000000##FFFFFF
##A02FBC1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#3869B9
Tritanopia (blue-blind)
#A04C74
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a02fbc;
/* rgb */ color: rgb(160, 47, 188);
/* oklch */ color: oklch(53.7% 0.219 318.7);
Tailwind
colors: {
  custom: {
    50: '#c074d1',
    500: '#a02fbc',
    950: '#000000',
  },
}
SCSS
$custom: #a02fbc;
$custom-light: #c074d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a02fbc",
  "rgb": {
    "r": 160,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 288.085,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5369,
    "c": 0.21869,
    "h": 318.7
  },
  "luminance": 0.13137
}

Semantic roles & 50–950 ramp

primary
#A02FBC
secondary
#8CCA7D
accent
#E34564
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A02FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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