#9935B2#9935B2

#9935B2 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.6% C 0.200 H 318.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9935B2
RGBrgb(153, 53, 178)
HSLhsl(288, 54%, 45%)
HSVhsv(288, 70%, 70%)
CMYKcmyk(14%, 70.2%, 0%, 30.2%)
CIE-LABlab(42.05, 58.82, -47.04)
CIE-LCHlch(42.05, 75.32, 321.35°)
OKLaboklab(52.62% 0.1509 -0.1319)
OKLCHoklch(52.62% 0.2 318.8)
XYZxyz(22.4448, 12.5339, 43.3479)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9935B2 #4EB235
analogous
#5A35B2 #9935B2 #B2358C
triadic
#9935B2 #B29935 #35B299
tetradic
#9935B2 #B25A35 #4EB235 #358CB2
square
#9935B2 #B25A35 #4EB235 #358CB2
split-complementary
#9935B2 #8CB235 #35B25A
monochromatic
#481954 #702783 #9935B2 #B557CD #CA86DB

Accessibility & contrast

On white

5.99
#9935B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9935B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9935B2
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9935B2#FFFFFF#000000##FFFFFF
##9935B21.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#3D67AF
Tritanopia (blue-blind)
#994D70
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9935b2;
/* rgb */ color: rgb(153, 53, 178);
/* oklch */ color: oklch(52.6% 0.200 318.8);
Tailwind
colors: {
  custom: {
    50: '#bb75ca',
    500: '#9935b2',
    950: '#000000',
  },
}
SCSS
$custom: #9935b2;
$custom-light: #bb75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9935b2",
  "rgb": {
    "r": 153,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 288,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5262,
    "c": 0.20039,
    "h": 318.8
  },
  "luminance": 0.12533
}

Semantic roles & 50–950 ramp

primary
#9935B2
secondary
#8CC57E
accent
#DD4A68
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9935B2

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

Preview Lab → · Contrast checker → · Palette generator →

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