#9823B2#9823B2

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

Color values

HEX#9823B2
RGBrgb(152, 35, 178)
HSLhsl(289, 67%, 42%)
HSVhsv(289, 80%, 70%)
CMYKcmyk(14.6%, 80.3%, 0%, 30.2%)
CIE-LABlab(39.74, 64.81, -50.77)
CIE-LCHlch(39.74, 82.33, 321.93°)
OKLaboklab(50.94% 0.1659 -0.1427)
OKLCHoklch(50.94% 0.219 319.3)
XYZxyz(21.5848, 11.0929, 43.1150)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9823B2 #3DB223
analogous
#5123B2 #9823B2 #B22385
triadic
#9823B2 #B29823 #23B298
tetradic
#9823B2 #B25123 #3DB223 #2385B2
square
#9823B2 #B25123 #3DB223 #2385B2
split-complementary
#9823B2 #85B223 #23B251
monochromatic
#410F4C #6C197F #9823B2 #BB3AD8 #CD6DE2

Accessibility & contrast

On white

6.52
#9823B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9823B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9823B2
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9823B2#FFFFFF#000000##FFFFFF
##9823B21.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#2F61AF
Tritanopia (blue-blind)
#98436B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9823b2;
/* rgb */ color: rgb(152, 35, 178);
/* oklch */ color: oklch(50.9% 0.219 319.3);
Tailwind
colors: {
  custom: {
    50: '#bb6dca',
    500: '#9823b2',
    950: '#000000',
  },
}
SCSS
$custom: #9823b2;
$custom-light: #bb6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#9823b2",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 178
  },
  "hsl": {
    "h": 289.091,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50945,
    "c": 0.21884,
    "h": 319.3
  },
  "luminance": 0.11092
}

Semantic roles & 50–950 ramp

primary
#9823B2
secondary
#7AC968
accent
#EA3E5D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9823B2

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

Preview Lab → · Contrast checker → · Palette generator →

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