#9823A8#9823A8

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

Color values

HEX#9823A8
RGBrgb(152, 35, 168)
HSLhsl(293, 66%, 40%)
HSVhsv(293, 79%, 66%)
CMYKcmyk(9.5%, 79.2%, 0%, 34.1%)
CIE-LABlab(39.08, 63.01, -45.87)
CIE-LCHlch(39.08, 77.93, 323.95°)
OKLaboklab(50.27% 0.1672 -0.1284)
OKLCHoklch(50.27% 0.211 322.5)
XYZxyz(20.6171, 10.7058, 38.0187)
Luminance0.1071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9823A8 #33A823
analogous
#5623A8 #9823A8 #A82376
triadic
#9823A8 #A89823 #23A898
tetradic
#9823A8 #A85623 #33A823 #2376A8
square
#9823A8 #A85623 #33A823 #2376A8
split-complementary
#9823A8 #76A823 #23A856
monochromatic
#3C0E43 #6A1875 #9823A8 #C134D5 #D166DF

Accessibility & contrast

On white

6.69
#9823A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9823A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9823A8
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9823A8#FFFFFF#000000##FFFFFF
##9823A81.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AC
Deuteranopia (green-blind)
#3960A5
Tritanopia (blue-blind)
#9A3E66
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9823a8;
/* rgb */ color: rgb(152, 35, 168);
/* oklch */ color: oklch(50.3% 0.211 322.5);
Tailwind
colors: {
  custom: {
    50: '#ba6dc2',
    500: '#9823a8',
    950: '#000000',
  },
}
SCSS
$custom: #9823a8;
$custom-light: #ba6dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9823a8",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 168
  },
  "hsl": {
    "h": 292.782,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50273,
    "c": 0.21076,
    "h": 322.5
  },
  "luminance": 0.10705
}

Semantic roles & 50–950 ramp

primary
#9823A8
secondary
#6EC562
accent
#E83F54
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9823A8

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

Preview Lab → · Contrast checker → · Palette generator →

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