#A0218D#A0218D

#A0218D is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.196 H 335.2°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#A0218D
RGBrgb(160, 33, 141)
HSLhsl(309, 66%, 38%)
HSVhsv(309, 79%, 63%)
CMYKcmyk(0%, 79.4%, 11.9%, 37.3%)
CIE-LABlab(38.70, 60.86, -30.04)
CIE-LCHlch(38.70, 67.87, 333.73°)
OKLaboklab(49.76% 0.178 -0.0822)
OKLCHoklch(49.76% 0.196 335.2)
XYZxyz(19.8491, 10.4862, 26.1728)
Luminance0.1048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0218D #21A034
analogous
#7321A0 #A0218D #A0214E
triadic
#A0218D #8DA021 #218DA0
tetradic
#A0218D #A07321 #21A034 #214EA0
square
#A0218D #A07321 #21A034 #214EA0
split-complementary
#A0218D #4EA021 #21A073
monochromatic
#3B0C34 #6D1760 #A0218D #D32BBA #DE5ECB

Accessibility & contrast

On white

6.78
#A0218D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A0218D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0218D
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0218D#FFFFFF#000000##FFFFFF
##A0218D1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214F90
Deuteranopia (green-blind)
#51628A
Tritanopia (blue-blind)
#A82D56
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a0218d;
/* rgb */ color: rgb(160, 33, 141);
/* oklch */ color: oklch(49.8% 0.196 335.2);
Tailwind
colors: {
  custom: {
    50: '#c06cae',
    500: '#a0218d',
    950: '#000000',
  },
}
SCSS
$custom: #a0218d;
$custom-light: #c06cae;
$custom-dark: #000000;
JSON
{
  "hex": "#a0218d",
  "rgb": {
    "r": 160,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 308.976,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49764,
    "c": 0.19601,
    "h": 335.2
  },
  "luminance": 0.10484
}

Semantic roles & 50–950 ramp

primary
#A0218D
secondary
#5BC26A
accent
#E9583F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A0218D

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

Preview Lab → · Contrast checker → · Palette generator →

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