#9823B1#9823B1

#9823B1 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.9% C 0.218 H 319.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9823B1
RGBrgb(152, 35, 177)
HSLhsl(289, 67%, 42%)
HSVhsv(289, 80%, 69%)
CMYKcmyk(14.1%, 80.2%, 0%, 30.6%)
CIE-LABlab(39.67, 64.62, -50.28)
CIE-LCHlch(39.67, 81.88, 322.11°)
OKLaboklab(50.88% 0.1661 -0.1413)
OKLCHoklch(50.88% 0.218 319.6)
XYZxyz(21.4847, 11.0529, 42.5882)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9823B1 #3CB123
analogous
#5123B1 #9823B1 #B12383
triadic
#9823B1 #B19823 #23B198
tetradic
#9823B1 #B15123 #3CB123 #2383B1
square
#9823B1 #B15123 #3CB123 #2383B1
split-complementary
#9823B1 #83B123 #23B151
monochromatic
#400F4B #6C197E #9823B1 #BC39D8 #CD6CE2

Accessibility & contrast

On white

6.54
#9823B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9823B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9823B1
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9823B1#FFFFFF#000000##FFFFFF
##9823B11.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#3061AE
Tritanopia (blue-blind)
#98436B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9823b1;
/* rgb */ color: rgb(152, 35, 177);
/* oklch */ color: oklch(50.9% 0.218 319.6);
Tailwind
colors: {
  custom: {
    50: '#bb6dc9',
    500: '#9823b1',
    950: '#000000',
  },
}
SCSS
$custom: #9823b1;
$custom-light: #bb6dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#9823b1",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 177
  },
  "hsl": {
    "h": 289.437,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50877,
    "c": 0.21803,
    "h": 319.6
  },
  "luminance": 0.11052
}

Semantic roles & 50–950 ramp

primary
#9823B1
secondary
#79C868
accent
#EA3E5C
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9823B1

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

Preview Lab → · Contrast checker → · Palette generator →

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