#9833B5#9833B5

#9833B5 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.5% C 0.205 H 317.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9833B5
RGBrgb(152, 51, 181)
HSLhsl(287, 56%, 45%)
HSVhsv(287, 72%, 71%)
CMYKcmyk(16%, 71.8%, 0%, 29%)
CIE-LABlab(41.81, 59.98, -49.20)
CIE-LCHlch(41.81, 77.57, 320.64°)
OKLaboklab(52.48% 0.1515 -0.1382)
OKLCHoklch(52.48% 0.205 317.6)
XYZxyz(22.4720, 12.3802, 44.9130)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9833B5 #50B533
analogous
#5733B5 #9833B5 #B53391
triadic
#9833B5 #B59833 #33B598
tetradic
#9833B5 #B55733 #50B533 #3391B5
square
#9833B5 #B55733 #50B533 #3391B5
split-complementary
#9833B5 #91B533 #33B557
monochromatic
#481856 #702685 #9833B5 #B456CF #C986DD

Accessibility & contrast

On white

6.04
#9833B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9833B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9833B5
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9833B5#FFFFFF#000000##FFFFFF
##9833B51.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#3766B2
Tritanopia (blue-blind)
#974D71
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9833b5;
/* rgb */ color: rgb(152, 51, 181);
/* oklch */ color: oklch(52.5% 0.205 317.6);
Tailwind
colors: {
  custom: {
    50: '#ba74cc',
    500: '#9833b5',
    950: '#000000',
  },
}
SCSS
$custom: #9833b5;
$custom-light: #ba74cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9833b5",
  "rgb": {
    "r": 152,
    "g": 51,
    "b": 181
  },
  "hsl": {
    "h": 286.615,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5248,
    "c": 0.20506,
    "h": 317.6
  },
  "luminance": 0.12379
}

Semantic roles & 50–950 ramp

primary
#9833B5
secondary
#8EC67D
accent
#DF486A
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9833B5

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

Preview Lab → · Contrast checker → · Palette generator →

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