#9824B1#9824B1

#9824B1 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.9% C 0.217 H 319.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#9824B1
RGBrgb(152, 36, 177)
HSLhsl(289, 66%, 42%)
HSVhsv(289, 80%, 69%)
CMYKcmyk(14.1%, 79.7%, 0%, 30.6%)
CIE-LABlab(39.77, 64.33, -50.12)
CIE-LCHlch(39.77, 81.55, 322.08°)
OKLaboklab(50.95% 0.1653 -0.1408)
OKLCHoklch(50.95% 0.217 319.6)
XYZxyz(21.5146, 11.1126, 42.5981)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9824B1 #3DB124
analogous
#5224B1 #9824B1 #B12484
triadic
#9824B1 #B19824 #24B198
tetradic
#9824B1 #B15224 #3DB124 #2484B1
square
#9824B1 #B15224 #3DB124 #2484B1
split-complementary
#9824B1 #84B124 #24B152
monochromatic
#410F4B #6C1A7E #9824B1 #BB3BD7 #CD6EE1

Accessibility & contrast

On white

6.52
#9824B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9824B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9824B1
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9824B1#FFFFFF#000000##FFFFFF
##9824B11.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#3161AE
Tritanopia (blue-blind)
#98436B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9824b1;
/* rgb */ color: rgb(152, 36, 177);
/* oklch */ color: oklch(50.9% 0.217 319.6);
Tailwind
colors: {
  custom: {
    50: '#bb6ec9',
    500: '#9824b1',
    950: '#000000',
  },
}
SCSS
$custom: #9824b1;
$custom-light: #bb6ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#9824b1",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 289.362,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50947,
    "c": 0.21714,
    "h": 319.6
  },
  "luminance": 0.11111
}

Semantic roles & 50–950 ramp

primary
#9824B1
secondary
#7AC869
accent
#E93F5D
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9824B1

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

Preview Lab → · Contrast checker → · Palette generator →

#9824B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva