#A02DBC#A02DBC

#A02DBC is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.221 H 318.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#A02DBC
RGBrgb(160, 45, 188)
HSLhsl(288, 61%, 46%)
HSVhsv(288, 76%, 74%)
CMYKcmyk(14.9%, 76.1%, 0%, 26.3%)
CIE-LABlab(42.74, 65.08, -51.77)
CIE-LCHlch(42.74, 83.16, 321.50°)
OKLaboklab(53.52% 0.166 -0.1454)
OKLCHoklch(53.52% 0.221 318.8)
XYZxyz(24.5115, 12.9824, 48.7819)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02DBC #49BC2D
analogous
#592DBC #A02DBC #BC2D90
triadic
#A02DBC #BCA02D #2DBCA0
tetradic
#A02DBC #BC592D #49BC2D #2D90BC
square
#A02DBC #BC592D #49BC2D #2D90BC
split-complementary
#A02DBC #90BC2D #2DBC59
monochromatic
#4C1559 #76218B #A02DBC #BB51D5 #CF82E1

Accessibility & contrast

On white

5.84
#A02DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#A02DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02DBC
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02DBC#FFFFFF#000000##FFFFFF
##A02DBC1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a02dbc;
/* rgb */ color: rgb(160, 45, 188);
/* oklch */ color: oklch(53.5% 0.221 318.8);
Tailwind
colors: {
  custom: {
    50: '#c073d1',
    500: '#a02dbc',
    950: '#000000',
  },
}
SCSS
$custom: #a02dbc;
$custom-light: #c073d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a02dbc",
  "rgb": {
    "r": 160,
    "g": 45,
    "b": 188
  },
  "hsl": {
    "h": 288.252,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53524,
    "c": 0.22073,
    "h": 318.8
  },
  "luminance": 0.12981
}

Semantic roles & 50–950 ramp

primary
#A02DBC
secondary
#8ACA7B
accent
#E44363
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A02DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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