#A02BC4#A02BC4

#A02BC4 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.9% C 0.229 H 316.6°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#A02BC4
RGBrgb(160, 43, 196)
HSLhsl(286, 64%, 47%)
HSVhsv(286, 78%, 77%)
CMYKcmyk(18.4%, 78.1%, 0%, 23.1%)
CIE-LABlab(43.05, 67.23, -55.94)
CIE-LCHlch(43.05, 87.46, 320.24°)
OKLaboklab(53.91% 0.1666 -0.1577)
OKLCHoklch(53.91% 0.229 316.6)
XYZxyz(25.3234, 13.1879, 53.4255)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02BC4 #4FC42B
analogous
#532BC4 #A02BC4 #C42B9C
triadic
#A02BC4 #C4A02B #2BC4A0
tetradic
#A02BC4 #C4532B #4FC42B #2B9CC4
square
#A02BC4 #C4532B #4FC42B #2B9CC4
split-complementary
#A02BC4 #9CC42B #2BC453
monochromatic
#4E1560 #772092 #A02BC4 #BA53D9 #CE85E4

Accessibility & contrast

On white

5.77
#A02BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#A02BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02BC4
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02BC4#FFFFFF#000000##FFFFFF
##A02BC41.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#2B69C1
Tritanopia (blue-blind)
#9E4E77
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a02bc4;
/* rgb */ color: rgb(160, 43, 196);
/* oklch */ color: oklch(53.9% 0.229 316.6);
Tailwind
colors: {
  custom: {
    50: '#c172d7',
    500: '#a02bc4',
    950: '#000000',
  },
}
SCSS
$custom: #a02bc4;
$custom-light: #c172d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a02bc4",
  "rgb": {
    "r": 160,
    "g": 43,
    "b": 196
  },
  "hsl": {
    "h": 285.882,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5391,
    "c": 0.22939,
    "h": 316.6
  },
  "luminance": 0.13187
}

Semantic roles & 50–950 ramp

primary
#A02BC4
secondary
#90CE7D
accent
#E74168
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A02BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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