#9819B4#9819B4

#9819B4 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.5% C 0.228 H 319.0°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9819B4
RGBrgb(152, 25, 180)
HSLhsl(289, 76%, 40%)
HSVhsv(289, 86%, 71%)
CMYKcmyk(15.6%, 86.1%, 0%, 29.4%)
CIE-LABlab(39.01, 67.68, -53.12)
CIE-LCHlch(39.01, 86.04, 321.87°)
OKLaboklab(50.48% 0.1721 -0.1495)
OKLCHoklch(50.48% 0.228 319)
XYZxyz(21.5336, 10.6671, 44.0959)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9819B4 #35B419
analogous
#4A19B4 #9819B4 #B41983
triadic
#9819B4 #B49819 #19B498
tetradic
#9819B4 #B44A19 #35B419 #1983B4
square
#9819B4 #B44A19 #35B419 #1983B4
split-complementary
#9819B4 #83B419 #19B44A
monochromatic
#3D0A49 #6B127E #9819B4 #C029E1 #D05FE9

Accessibility & contrast

On white

6.70
#9819B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9819B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9819B4
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9819B4#FFFFFF#000000##FFFFFF
##9819B41.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#2660B1
Tritanopia (blue-blind)
#98406B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9819b4;
/* rgb */ color: rgb(152, 25, 180);
/* oklch */ color: oklch(50.5% 0.228 319.0);
Tailwind
colors: {
  custom: {
    50: '#bb6acb',
    500: '#9819b4',
    950: '#000000',
  },
}
SCSS
$custom: #9819b4;
$custom-light: #bb6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#9819b4",
  "rgb": {
    "r": 152,
    "g": 25,
    "b": 180
  },
  "hsl": {
    "h": 289.161,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50482,
    "c": 0.22801,
    "h": 319
  },
  "luminance": 0.10666
}

Semantic roles & 50–950 ramp

primary
#9819B4
secondary
#70CD5C
accent
#F23658
background
#FCF6FC
surface
#F8ECF9
border
#D1C7D2
text
#120813
muted
#817A82

Preview Lab

Preview with #9819B4

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

Preview Lab → · Contrast checker → · Palette generator →

#9819B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva