#9335B7#9335B7

#9335B7 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.1% C 0.203 H 314.9°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9335B7
RGBrgb(147, 53, 183)
HSLhsl(283, 55%, 46%)
HSVhsv(283, 71%, 72%)
CMYKcmyk(19.7%, 71%, 0%, 28.2%)
CIE-LABlab(41.48, 58.53, -50.95)
CIE-LCHlch(41.48, 77.60, 318.96°)
OKLaboklab(52.14% 0.1431 -0.1435)
OKLCHoklch(52.14% 0.203 314.9)
XYZxyz(21.8516, 12.1689, 45.9883)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9335B7 #59B735
analogous
#5235B7 #9335B7 #B7359A
triadic
#9335B7 #B79335 #35B793
tetradic
#9335B7 #B75235 #59B735 #359AB7
square
#9335B7 #B75235 #59B735 #359AB7
split-complementary
#9335B7 #9AB735 #35B752
monochromatic
#471A58 #6D2788 #9335B7 #AF5ACF #C689DD

Accessibility & contrast

On white

6.12
#9335B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9335B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9335B7
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9335B7#FFFFFF#000000##FFFFFF
##9335B71.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#3064B4
Tritanopia (blue-blind)
#905073
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9335b7;
/* rgb */ color: rgb(147, 53, 183);
/* oklch */ color: oklch(52.1% 0.203 314.9);
Tailwind
colors: {
  custom: {
    50: '#b775cd',
    500: '#9335b7',
    950: '#000000',
  },
}
SCSS
$custom: #9335b7;
$custom-light: #b775cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9335b7",
  "rgb": {
    "r": 147,
    "g": 53,
    "b": 183
  },
  "hsl": {
    "h": 283.385,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52135,
    "c": 0.20264,
    "h": 314.9
  },
  "luminance": 0.12168
}

Semantic roles & 50–950 ramp

primary
#9335B7
secondary
#94C781
accent
#DE4973
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9335B7

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

Preview Lab → · Contrast checker → · Palette generator →

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