#A0218E#A0218E

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

Color values

HEX#A0218E
RGBrgb(160, 33, 142)
HSLhsl(309, 66%, 38%)
HSVhsv(309, 79%, 63%)
CMYKcmyk(0%, 79.4%, 11.2%, 37.3%)
CIE-LABlab(38.75, 61.01, -30.57)
CIE-LCHlch(38.75, 68.24, 333.39°)
OKLaboklab(49.82% 0.178 -0.0837)
OKLCHoklch(49.82% 0.197 334.8)
XYZxyz(19.9238, 10.5161, 26.5664)
Luminance0.1051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0218E #21A033
analogous
#7221A0 #A0218E #A0214E
triadic
#A0218E #8EA021 #218EA0
tetradic
#A0218E #A07221 #21A033 #214EA0
square
#A0218E #A07221 #21A033 #214EA0
split-complementary
#A0218E #4EA021 #21A072
monochromatic
#3B0C34 #6D1761 #A0218E #D32BBB #DE5ECC

Accessibility & contrast

On white

6.77
#A0218E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A0218E
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0218E#FFFFFF#000000##FFFFFF
##A0218E1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204F91
Deuteranopia (green-blind)
#50628B
Tritanopia (blue-blind)
#A82D57
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a0218e;
/* rgb */ color: rgb(160, 33, 142);
/* oklch */ color: oklch(49.8% 0.197 334.8);
Tailwind
colors: {
  custom: {
    50: '#c06caf',
    500: '#a0218e',
    950: '#000000',
  },
}
SCSS
$custom: #a0218e;
$custom-light: #c06caf;
$custom-dark: #000000;
JSON
{
  "hex": "#a0218e",
  "rgb": {
    "r": 160,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 308.504,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49818,
    "c": 0.19671,
    "h": 334.8
  },
  "luminance": 0.10514
}

Semantic roles & 50–950 ramp

primary
#A0218E
secondary
#5BC269
accent
#E9573F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A0218E

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

Preview Lab → · Contrast checker → · Palette generator →

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