#9824A7#9824A7

#9824A7 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.3% C 0.209 H 322.8°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#9824A7
RGBrgb(152, 36, 167)
HSLhsl(293, 65%, 40%)
HSVhsv(293, 78%, 65%)
CMYKcmyk(9%, 78.4%, 0%, 34.5%)
CIE-LABlab(39.12, 62.53, -45.21)
CIE-LCHlch(39.12, 77.16, 324.14°)
OKLaboklab(50.28% 0.1665 -0.1264)
OKLCHoklch(50.28% 0.209 322.8)
XYZxyz(20.5541, 10.7284, 37.5399)
Luminance0.1073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9824A7 #33A724
analogous
#5724A7 #9824A7 #A72474
triadic
#9824A7 #A79824 #24A798
tetradic
#9824A7 #A75724 #33A724 #2474A7
square
#9824A7 #A75724 #33A724 #2474A7
split-complementary
#9824A7 #74A724 #24A757
monochromatic
#3C0E42 #6A1975 #9824A7 #C135D3 #D167DE

Accessibility & contrast

On white

6.68
#9824A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9824A7
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9824A7#FFFFFF#000000##FFFFFF
##9824A71.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#3A60A4
Tritanopia (blue-blind)
#9A3E65
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9824a7;
/* rgb */ color: rgb(152, 36, 167);
/* oklch */ color: oklch(50.3% 0.209 322.8);
Tailwind
colors: {
  custom: {
    50: '#ba6dc2',
    500: '#9824a7',
    950: '#000000',
  },
}
SCSS
$custom: #9824a7;
$custom-light: #ba6dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9824a7",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 293.13,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5028,
    "c": 0.20903,
    "h": 322.8
  },
  "luminance": 0.10727
}

Semantic roles & 50–950 ramp

primary
#9824A7
secondary
#6EC463
accent
#E84053
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9824A7

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

Preview Lab → · Contrast checker → · Palette generator →

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