#A81E98#A81E98

#A81E98 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.5% C 0.210 H 333.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A81E98
RGBrgb(168, 30, 152)
HSLhsl(307, 70%, 39%)
HSVhsv(307, 82%, 66%)
CMYKcmyk(0%, 82.1%, 9.5%, 34.1%)
CIE-LABlab(40.45, 64.99, -33.90)
CIE-LCHlch(40.45, 73.30, 332.46°)
OKLaboklab(51.47% 0.1886 -0.0931)
OKLCHoklch(51.47% 0.21 333.7)
XYZxyz(22.2804, 11.5224, 30.7503)
Luminance0.1152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81E98 #1EA82E
analogous
#731EA8 #A81E98 #A81E53
triadic
#A81E98 #98A81E #1E98A8
tetradic
#A81E98 #A8731E #1EA82E #1E53A8
square
#A81E98 #A8731E #1EA82E #1E53A8
split-complementary
#A81E98 #53A81E #1EA873
monochromatic
#400B3A #741569 #A81E98 #D92AC5 #E25ED3

Accessibility & contrast

On white

6.36
#A81E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A81E98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81E98
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81E98#FFFFFF#000000##FFFFFF
##A81E981.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18539B
Deuteranopia (green-blind)
#526695
Tritanopia (blue-blind)
#B02E5C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a81e98;
/* rgb */ color: rgb(168, 30, 152);
/* oklch */ color: oklch(51.5% 0.210 333.7);
Tailwind
colors: {
  custom: {
    50: '#c66db7',
    500: '#a81e98',
    950: '#000000',
  },
}
SCSS
$custom: #a81e98;
$custom-light: #c66db7;
$custom-dark: #000000;
JSON
{
  "hex": "#a81e98",
  "rgb": {
    "r": 168,
    "g": 30,
    "b": 152
  },
  "hsl": {
    "h": 306.957,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.51467,
    "c": 0.21028,
    "h": 333.7
  },
  "luminance": 0.1152
}

Semantic roles & 50–950 ramp

primary
#A81E98
secondary
#5BC768
accent
#ED503B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A81E98

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

Preview Lab → · Contrast checker → · Palette generator →

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