#9935BA#9935BA

#9935BA is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.1% C 0.208 H 316.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9935BA
RGBrgb(153, 53, 186)
HSLhsl(285, 56%, 47%)
HSVhsv(285, 72%, 73%)
CMYKcmyk(17.7%, 71.5%, 0%, 27.1%)
CIE-LABlab(42.56, 60.39, -50.94)
CIE-LCHlch(42.56, 79.00, 319.85°)
OKLaboklab(53.14% 0.1503 -0.1433)
OKLCHoklch(53.14% 0.208 316.4)
XYZxyz(23.2715, 12.8646, 47.7021)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9935BA #56BA35
analogous
#5735BA #9935BA #BA3599
triadic
#9935BA #BA9935 #35BA99
tetradic
#9935BA #BA5735 #56BA35 #3599BA
square
#9935BA #BA5735 #56BA35 #3599BA
split-complementary
#9935BA #99BA35 #35BA57
monochromatic
#4B1A5B #72278A #9935BA #B45CD0 #CA8BDE

Accessibility & contrast

On white

5.88
#9935BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9935BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9935BA
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9935BA#FFFFFF#000000##FFFFFF
##9935BA1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#3567B7
Tritanopia (blue-blind)
#975074
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9935ba;
/* rgb */ color: rgb(153, 53, 186);
/* oklch */ color: oklch(53.1% 0.208 316.4);
Tailwind
colors: {
  custom: {
    50: '#bb75cf',
    500: '#9935ba',
    950: '#000000',
  },
}
SCSS
$custom: #9935ba;
$custom-light: #bb75cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9935ba",
  "rgb": {
    "r": 153,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 285.113,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53143,
    "c": 0.20762,
    "h": 316.4
  },
  "luminance": 0.12864
}

Semantic roles & 50–950 ramp

primary
#9935BA
secondary
#94C882
accent
#DF496E
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9935BA

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

Preview Lab → · Contrast checker → · Palette generator →

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