#9818A1#9818A1

#9818A1 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.1% C 0.214 H 325.1°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#9818A1
RGBrgb(152, 24, 161)
HSLhsl(296, 74%, 36%)
HSVhsv(296, 85%, 63%)
CMYKcmyk(5.6%, 85.1%, 0%, 36.9%)
CIE-LABlab(37.67, 64.61, -43.93)
CIE-LCHlch(37.67, 78.13, 325.79°)
OKLaboklab(49.13% 0.1756 -0.1226)
OKLCHoklch(49.13% 0.214 325.1)
XYZxyz(19.7081, 9.9032, 34.5848)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9818A1 #21A118
analogous
#5418A1 #9818A1 #A11866
triadic
#9818A1 #A19818 #18A198
tetradic
#9818A1 #A15418 #21A118 #1866A1
square
#9818A1 #A15418 #21A118 #1866A1
split-complementary
#9818A1 #66A118 #18A154
monochromatic
#330836 #66106C #9818A1 #CA20D6 #DB4FE5

Accessibility & contrast

On white

7.05
#9818A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9818A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9818A1
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9818A1#FFFFFF#000000##FFFFFF
##9818A11.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA4
Deuteranopia (green-blind)
#3A5E9E
Tritanopia (blue-blind)
#9B3660
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9818a1;
/* rgb */ color: rgb(152, 24, 161);
/* oklch */ color: oklch(49.1% 0.214 325.1);
Tailwind
colors: {
  custom: {
    50: '#bb69bd',
    500: '#9818a1',
    950: '#000000',
  },
}
SCSS
$custom: #9818a1;
$custom-light: #bb69bd;
$custom-dark: #000000;
JSON
{
  "hex": "#9818a1",
  "rgb": {
    "r": 152,
    "g": 24,
    "b": 161
  },
  "hsl": {
    "h": 296.058,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49134,
    "c": 0.21415,
    "h": 325.1
  },
  "luminance": 0.09902
}

Semantic roles & 50–950 ramp

primary
#9818A1
secondary
#56C74E
accent
#F13743
background
#FBF6FB
surface
#F7ECF7
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #9818A1

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

Preview Lab → · Contrast checker → · Palette generator →

#9818A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva