#A02BC2#A02BC2

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

Color values

HEX#A02BC2
RGBrgb(160, 43, 194)
HSLhsl(286, 64%, 46%)
HSVhsv(286, 78%, 76%)
CMYKcmyk(17.5%, 77.8%, 0%, 23.9%)
CIE-LABlab(42.91, 66.85, -55.00)
CIE-LCHlch(42.91, 86.57, 320.56°)
OKLaboklab(53.77% 0.1669 -0.1549)
OKLCHoklch(53.77% 0.228 317.1)
XYZxyz(25.0972, 13.0975, 52.2345)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02BC2 #4DC22B
analogous
#552BC2 #A02BC2 #C22B99
triadic
#A02BC2 #C2A02B #2BC2A0
tetradic
#A02BC2 #C2552B #4DC22B #2B99C2
square
#A02BC2 #C2552B #4DC22B #2B99C2
split-complementary
#A02BC2 #99C22B #2BC255
monochromatic
#4D155E #772090 #A02BC2 #BA52D9 #CE84E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A02BC2#FFFFFF#000000##FFFFFF
##A02BC21.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)
#005EC6
Deuteranopia (green-blind)
#2E69BF
Tritanopia (blue-blind)
#9E4D76
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a02bc2;
/* rgb */ color: rgb(160, 43, 194);
/* oklch */ color: oklch(53.8% 0.228 317.1);
Tailwind
colors: {
  custom: {
    50: '#c172d5',
    500: '#a02bc2',
    950: '#000000',
  },
}
SCSS
$custom: #a02bc2;
$custom-light: #c172d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a02bc2",
  "rgb": {
    "r": 160,
    "g": 43,
    "b": 194
  },
  "hsl": {
    "h": 286.49,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53772,
    "c": 0.22771,
    "h": 317.1
  },
  "luminance": 0.13096
}

Semantic roles & 50–950 ramp

primary
#A02BC2
secondary
#8ECD7C
accent
#E74166
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A02BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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