#9823A6#9823A6

#9823A6 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.1% C 0.209 H 323.1°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9823A6
RGBrgb(152, 35, 166)
HSLhsl(294, 65%, 39%)
HSVhsv(294, 79%, 65%)
CMYKcmyk(8.4%, 78.9%, 0%, 34.9%)
CIE-LABlab(38.95, 62.65, -44.87)
CIE-LCHlch(38.95, 77.07, 324.39°)
OKLaboklab(50.14% 0.1674 -0.1254)
OKLCHoklch(50.14% 0.209 323.1)
XYZxyz(20.4322, 10.6319, 37.0450)
Luminance0.1063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9823A6 #31A623
analogous
#5723A6 #9823A6 #A62373
triadic
#9823A6 #A69823 #23A698
tetradic
#9823A6 #A65723 #31A623 #2373A6
square
#9823A6 #A65723 #31A623 #2373A6
split-complementary
#9823A6 #73A623 #23A657
monochromatic
#3B0E41 #6A1873 #9823A6 #C332D4 #D265DF

Accessibility & contrast

On white

6.72
#9823A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9823A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9823A6
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9823A6#FFFFFF#000000##FFFFFF
##9823A61.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#3A60A3
Tritanopia (blue-blind)
#9A3D65
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9823a6;
/* rgb */ color: rgb(152, 35, 166);
/* oklch */ color: oklch(50.1% 0.209 323.1);
Tailwind
colors: {
  custom: {
    50: '#ba6dc1',
    500: '#9823a6',
    950: '#000000',
  },
}
SCSS
$custom: #9823a6;
$custom-light: #ba6dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#9823a6",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 166
  },
  "hsl": {
    "h": 293.588,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50143,
    "c": 0.20916,
    "h": 323.1
  },
  "luminance": 0.10631
}

Semantic roles & 50–950 ramp

primary
#9823A6
secondary
#6BC461
accent
#E84052
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9823A6

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

Preview Lab → · Contrast checker → · Palette generator →

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