#9824A8#9824A8

#9824A8 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.210 H 322.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#9824A8
RGBrgb(152, 36, 168)
HSLhsl(293, 65%, 40%)
HSVhsv(293, 79%, 66%)
CMYKcmyk(9.5%, 78.6%, 0%, 34.1%)
CIE-LABlab(39.18, 62.71, -45.70)
CIE-LCHlch(39.18, 77.60, 323.92°)
OKLaboklab(50.35% 0.1664 -0.1279)
OKLCHoklch(50.35% 0.21 322.5)
XYZxyz(20.6469, 10.7655, 38.0286)
Luminance0.1076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9824A8 #34A824
analogous
#5624A8 #9824A8 #A82476
triadic
#9824A8 #A89824 #24A898
tetradic
#9824A8 #A85624 #34A824 #2476A8
square
#9824A8 #A85624 #34A824 #2476A8
split-complementary
#9824A8 #76A824 #24A856
monochromatic
#3D0E43 #6A1976 #9824A8 #C135D4 #D068DF

Accessibility & contrast

On white

6.66
#9824A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9824A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9824A8
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9824A8#FFFFFF#000000##FFFFFF
##9824A81.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#3961A5
Tritanopia (blue-blind)
#9A3F66
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9824a8;
/* rgb */ color: rgb(152, 36, 168);
/* oklch */ color: oklch(50.3% 0.210 322.5);
Tailwind
colors: {
  custom: {
    50: '#ba6dc2',
    500: '#9824a8',
    950: '#000000',
  },
}
SCSS
$custom: #9824a8;
$custom-light: #ba6dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9824a8",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 292.727,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.50346,
    "c": 0.20984,
    "h": 322.5
  },
  "luminance": 0.10764
}

Semantic roles & 50–950 ramp

primary
#9824A8
secondary
#6FC463
accent
#E84054
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9824A8

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

Preview Lab → · Contrast checker → · Palette generator →

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