#9833B2#9833B2

#9833B2 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.3% C 0.202 H 318.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9833B2
RGBrgb(152, 51, 178)
HSLhsl(288, 55%, 45%)
HSVhsv(288, 71%, 70%)
CMYKcmyk(14.6%, 71.3%, 0%, 30.2%)
CIE-LABlab(41.62, 59.39, -47.73)
CIE-LCHlch(41.62, 76.20, 321.21°)
OKLaboklab(52.28% 0.1517 -0.1339)
OKLCHoklch(52.28% 0.202 318.6)
XYZxyz(22.1675, 12.2584, 43.3093)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9833B2 #4DB233
analogous
#5933B2 #9833B2 #B2338C
triadic
#9833B2 #B29833 #33B298
tetradic
#9833B2 #B25933 #4DB233 #338CB2
square
#9833B2 #B25933 #4DB233 #338CB2
split-complementary
#9833B2 #8CB233 #33B259
monochromatic
#471853 #6F2582 #9833B2 #B554CE #CA84DC

Accessibility & contrast

On white

6.08
#9833B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9833B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9833B2
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9833B2#FFFFFF#000000##FFFFFF
##9833B21.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#3A65AF
Tritanopia (blue-blind)
#984C6F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9833b2;
/* rgb */ color: rgb(152, 51, 178);
/* oklch */ color: oklch(52.3% 0.202 318.6);
Tailwind
colors: {
  custom: {
    50: '#ba74ca',
    500: '#9833b2',
    950: '#000000',
  },
}
SCSS
$custom: #9833b2;
$custom-light: #ba74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9833b2",
  "rgb": {
    "r": 152,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 287.717,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52283,
    "c": 0.20238,
    "h": 318.6
  },
  "luminance": 0.12257
}

Semantic roles & 50–950 ramp

primary
#9833B2
secondary
#8BC57C
accent
#DF4968
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9833B2

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

Preview Lab → · Contrast checker → · Palette generator →

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