#9823A9#9823A9

#9823A9 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.3% C 0.212 H 322.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#9823A9
RGBrgb(152, 35, 169)
HSLhsl(292, 66%, 40%)
HSVhsv(292, 79%, 66%)
CMYKcmyk(10.1%, 79.3%, 0%, 33.7%)
CIE-LABlab(39.14, 63.18, -46.36)
CIE-LCHlch(39.14, 78.37, 323.73°)
OKLaboklab(50.34% 0.1671 -0.1298)
OKLCHoklch(50.34% 0.212 322.2)
XYZxyz(20.7106, 10.7433, 38.5112)
Luminance0.1074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9823A9 #34A923
analogous
#5523A9 #9823A9 #A92377
triadic
#9823A9 #A99823 #23A998
tetradic
#9823A9 #A95523 #34A923 #2377A9
square
#9823A9 #A95523 #34A923 #2377A9
split-complementary
#9823A9 #77A923 #23A955
monochromatic
#3D0E44 #6A1976 #9823A9 #C134D5 #D067DF

Accessibility & contrast

On white

6.67
#9823A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9823A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9823A9
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9823A9#FFFFFF#000000##FFFFFF
##9823A91.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#3860A6
Tritanopia (blue-blind)
#9A3F66
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9823a9;
/* rgb */ color: rgb(152, 35, 169);
/* oklch */ color: oklch(50.3% 0.212 322.2);
Tailwind
colors: {
  custom: {
    50: '#ba6dc3',
    500: '#9823a9',
    950: '#000000',
  },
}
SCSS
$custom: #9823a9;
$custom-light: #ba6dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#9823a9",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 169
  },
  "hsl": {
    "h": 292.388,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.50339,
    "c": 0.21156,
    "h": 322.2
  },
  "luminance": 0.10742
}

Semantic roles & 50–950 ramp

primary
#9823A9
secondary
#6FC563
accent
#E93F55
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9823A9

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

Preview Lab → · Contrast checker → · Palette generator →

#9823A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva