#9833B7#9833B7

#9833B7 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.6% C 0.207 H 317.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#9833B7
RGBrgb(152, 51, 183)
HSLhsl(286, 56%, 46%)
HSVhsv(286, 72%, 72%)
CMYKcmyk(16.9%, 72.1%, 0%, 28.2%)
CIE-LABlab(41.94, 60.37, -50.17)
CIE-LCHlch(41.94, 78.49, 320.27°)
OKLaboklab(52.61% 0.1513 -0.1411)
OKLCHoklch(52.61% 0.207 317)
XYZxyz(22.6787, 12.4629, 46.0015)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9833B7 #52B733
analogous
#5633B7 #9833B7 #B73394
triadic
#9833B7 #B79833 #33B798
tetradic
#9833B7 #B75633 #52B733 #3394B7
square
#9833B7 #B75633 #52B733 #3394B7
split-complementary
#9833B7 #94B733 #33B756
monochromatic
#481857 #702687 #9833B7 #B457D0 #C987DE

Accessibility & contrast

On white

6.01
#9833B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#9833B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9833B7
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9833B7#FFFFFF#000000##FFFFFF
##9833B71.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#3566B4
Tritanopia (blue-blind)
#964E72
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9833b7;
/* rgb */ color: rgb(152, 51, 183);
/* oklch */ color: oklch(52.6% 0.207 317.0);
Tailwind
colors: {
  custom: {
    50: '#ba74cd',
    500: '#9833b7',
    950: '#000000',
  },
}
SCSS
$custom: #9833b7;
$custom-light: #ba74cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9833b7",
  "rgb": {
    "r": 152,
    "g": 51,
    "b": 183
  },
  "hsl": {
    "h": 285.909,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52612,
    "c": 0.20686,
    "h": 317
  },
  "luminance": 0.12462
}

Semantic roles & 50–950 ramp

primary
#9833B7
secondary
#90C77F
accent
#E0486C
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9833B7

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

Preview Lab → · Contrast checker → · Palette generator →

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