#A0218F#A0218F

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

Color values

HEX#A0218F
RGBrgb(160, 33, 143)
HSLhsl(308, 66%, 38%)
HSVhsv(308, 79%, 63%)
CMYKcmyk(0%, 79.4%, 10.6%, 37.3%)
CIE-LABlab(38.81, 61.16, -31.10)
CIE-LCHlch(38.81, 68.61, 333.05°)
OKLaboklab(49.87% 0.1781 -0.0852)
OKLCHoklch(49.87% 0.197 334.4)
XYZxyz(19.9992, 10.5463, 26.9636)
Luminance0.1054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0218F #21A032
analogous
#7121A0 #A0218F #A02150
triadic
#A0218F #8FA021 #218FA0
tetradic
#A0218F #A07121 #21A032 #2150A0
square
#A0218F #A07121 #21A032 #2150A0
split-complementary
#A0218F #50A021 #21A071
monochromatic
#3B0C34 #6D1762 #A0218F #D32BBC #DE5ECD

Accessibility & contrast

On white

6.76
#A0218F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#A0218F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0218F
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0218F#FFFFFF#000000##FFFFFF
##A0218F1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5092
Deuteranopia (green-blind)
#50628C
Tritanopia (blue-blind)
#A82E57
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a0218f;
/* rgb */ color: rgb(160, 33, 143);
/* oklch */ color: oklch(49.9% 0.197 334.4);
Tailwind
colors: {
  custom: {
    50: '#c06cb0',
    500: '#a0218f',
    950: '#000000',
  },
}
SCSS
$custom: #a0218f;
$custom-light: #c06cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a0218f",
  "rgb": {
    "r": 160,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 308.031,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49872,
    "c": 0.1974,
    "h": 334.4
  },
  "luminance": 0.10544
}

Semantic roles & 50–950 ramp

primary
#A0218F
secondary
#5BC268
accent
#E9563F
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130810
muted
#827A7F

Preview Lab

Preview with #A0218F

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

Preview Lab → · Contrast checker → · Palette generator →

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