#9833BA#9833BA

#9833BA is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.8% C 0.210 H 316.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9833BA
RGBrgb(152, 51, 186)
HSLhsl(285, 57%, 46%)
HSVhsv(285, 73%, 73%)
CMYKcmyk(18.3%, 72.6%, 0%, 27.1%)
CIE-LABlab(42.14, 60.96, -51.62)
CIE-LCHlch(42.14, 79.88, 319.74°)
OKLaboklab(52.81% 0.151 -0.1453)
OKLCHoklch(52.81% 0.21 316.1)
XYZxyz(22.9943, 12.5891, 47.6636)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9833BA #55BA33
analogous
#5533BA #9833BA #BA3399
triadic
#9833BA #BA9833 #33BA98
tetradic
#9833BA #BA5533 #55BA33 #3399BA
square
#9833BA #BA5533 #55BA33 #3399BA
split-complementary
#9833BA #99BA33 #33BA55
monochromatic
#4A195A #71268A #9833BA #B359D1 #C989DF

Accessibility & contrast

On white

5.97
#9833BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9833BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9833BA
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9833BA#FFFFFF#000000##FFFFFF
##9833BA1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#3266B7
Tritanopia (blue-blind)
#964F74
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9833ba;
/* rgb */ color: rgb(152, 51, 186);
/* oklch */ color: oklch(52.8% 0.210 316.1);
Tailwind
colors: {
  custom: {
    50: '#ba74cf',
    500: '#9833ba',
    950: '#000000',
  },
}
SCSS
$custom: #9833ba;
$custom-light: #ba74cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9833ba",
  "rgb": {
    "r": 152,
    "g": 51,
    "b": 186
  },
  "hsl": {
    "h": 284.889,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52813,
    "c": 0.20956,
    "h": 316.1
  },
  "luminance": 0.12588
}

Semantic roles & 50–950 ramp

primary
#9833BA
secondary
#92C980
accent
#E0486E
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9833BA

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

Preview Lab → · Contrast checker → · Palette generator →

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