#9335C2#9335C2

#9335C2 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.213 H 311.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9335C2
RGBrgb(147, 53, 194)
HSLhsl(280, 57%, 48%)
HSVhsv(280, 73%, 76%)
CMYKcmyk(24.2%, 72.7%, 0%, 23.9%)
CIE-LABlab(42.22, 60.80, -56.20)
CIE-LCHlch(42.22, 82.80, 317.25°)
OKLaboklab(52.9% 0.1417 -0.1589)
OKLCHoklch(52.9% 0.213 311.7)
XYZxyz(23.0415, 12.6449, 52.2554)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9335C2 #64C235
analogous
#4C35C2 #9335C2 #C235AA
triadic
#9335C2 #C29335 #35C293
tetradic
#9335C2 #C24C35 #64C235 #35AAC2
square
#9335C2 #C24C35 #64C235 #35AAC2
split-complementary
#9335C2 #AAC235 #35C24C
monochromatic
#4A1B62 #6F2892 #9335C2 #AD60D4 #C691E1

Accessibility & contrast

On white

5.95
#9335C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9335C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9335C2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9335C2#FFFFFF#000000##FFFFFF
##9335C21.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#2165BF
Tritanopia (blue-blind)
#8D5579
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9335c2;
/* rgb */ color: rgb(147, 53, 194);
/* oklch */ color: oklch(52.9% 0.213 311.7);
Tailwind
colors: {
  custom: {
    50: '#b775d5',
    500: '#9335c2',
    950: '#000000',
  },
}
SCSS
$custom: #9335c2;
$custom-light: #b775d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9335c2",
  "rgb": {
    "r": 147,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 280,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52896,
    "c": 0.21294,
    "h": 311.7
  },
  "luminance": 0.12644
}

Semantic roles & 50–950 ramp

primary
#9335C2
secondary
#9ECC87
accent
#E0477A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9335C2

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

Preview Lab → · Contrast checker → · Palette generator →

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