#9833B8#9833B8

#9833B8 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.7% C 0.208 H 316.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#9833B8
RGBrgb(152, 51, 184)
HSLhsl(286, 57%, 46%)
HSVhsv(286, 72%, 72%)
CMYKcmyk(17.4%, 72.3%, 0%, 27.8%)
CIE-LABlab(42.01, 60.56, -50.66)
CIE-LCHlch(42.01, 78.96, 320.09°)
OKLaboklab(52.68% 0.1512 -0.1425)
OKLCHoklch(52.68% 0.208 316.7)
XYZxyz(22.7831, 12.5047, 46.5516)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9833B8 #53B833
analogous
#5533B8 #9833B8 #B83395
triadic
#9833B8 #B89833 #33B898
tetradic
#9833B8 #B85533 #53B833 #3395B8
square
#9833B8 #B85533 #53B833 #3395B8
split-complementary
#9833B8 #95B833 #33B855
monochromatic
#491858 #702688 #9833B8 #B358D1 #C988DE

Accessibility & contrast

On white

6.00
#9833B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#9833B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9833B8
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9833B8#FFFFFF#000000##FFFFFF
##9833B81.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#3466B5
Tritanopia (blue-blind)
#964E73
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9833b8;
/* rgb */ color: rgb(152, 51, 184);
/* oklch */ color: oklch(52.7% 0.208 316.7);
Tailwind
colors: {
  custom: {
    50: '#ba74ce',
    500: '#9833b8',
    950: '#000000',
  },
}
SCSS
$custom: #9833b8;
$custom-light: #ba74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#9833b8",
  "rgb": {
    "r": 152,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 285.564,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52679,
    "c": 0.20776,
    "h": 316.7
  },
  "luminance": 0.12504
}

Semantic roles & 50–950 ramp

primary
#9833B8
secondary
#91C87F
accent
#E0486C
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9833B8

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

Preview Lab → · Contrast checker → · Palette generator →

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