#A02BC3#A02BC3

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

Color values

HEX#A02BC3
RGBrgb(160, 43, 195)
HSLhsl(286, 64%, 47%)
HSVhsv(286, 78%, 76%)
CMYKcmyk(17.9%, 77.9%, 0%, 23.5%)
CIE-LABlab(42.98, 67.04, -55.47)
CIE-LCHlch(42.98, 87.01, 320.39°)
OKLaboklab(53.84% 0.1667 -0.1563)
OKLCHoklch(53.84% 0.229 316.8)
XYZxyz(25.2099, 13.1426, 52.8280)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02BC3 #4EC32B
analogous
#542BC3 #A02BC3 #C32B9A
triadic
#A02BC3 #C3A02B #2BC3A0
tetradic
#A02BC3 #C3542B #4EC32B #2B9AC3
square
#A02BC3 #C3542B #4EC32B #2B9AC3
split-complementary
#A02BC3 #9AC32B #2BC354
monochromatic
#4E155F #772091 #A02BC3 #BA52D9 #CE84E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A02BC3#FFFFFF#000000##FFFFFF
##A02BC31.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)
#005FC7
Deuteranopia (green-blind)
#2C69C0
Tritanopia (blue-blind)
#9E4E77
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a02bc3;
/* rgb */ color: rgb(160, 43, 195);
/* oklch */ color: oklch(53.8% 0.229 316.8);
Tailwind
colors: {
  custom: {
    50: '#c172d6',
    500: '#a02bc3',
    950: '#000000',
  },
}
SCSS
$custom: #a02bc3;
$custom-light: #c172d6;
$custom-dark: #000000;
JSON
{
  "hex": "#a02bc3",
  "rgb": {
    "r": 160,
    "g": 43,
    "b": 195
  },
  "hsl": {
    "h": 286.184,
    "s": 63.866,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53841,
    "c": 0.22855,
    "h": 316.8
  },
  "luminance": 0.13141
}

Semantic roles & 50–950 ramp

primary
#A02BC3
secondary
#8FCD7D
accent
#E74167
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A02BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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