#9335CB#9335CB

#9335CB is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.5% C 0.221 H 309.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9335CB
RGBrgb(147, 53, 203)
HSLhsl(278, 59%, 50%)
HSVhsv(278, 74%, 80%)
CMYKcmyk(27.6%, 73.9%, 0%, 20.4%)
CIE-LABlab(42.86, 62.70, -60.41)
CIE-LCHlch(42.86, 87.07, 316.07°)
OKLaboklab(53.54% 0.1403 -0.1713)
OKLCHoklch(53.54% 0.221 309.3)
XYZxyz(24.0830, 13.0615, 57.7408)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9335CB #6DCB35
analogous
#4835CB #9335CB #CB35B8
triadic
#9335CB #CB9335 #35CB93
tetradic
#9335CB #CB4835 #6DCB35 #35B8CB
square
#9335CB #CB4835 #6DCB35 #35B8CB
split-complementary
#9335CB #B8CB35 #35CB48
monochromatic
#4D1B6A #70289B #9335CB #AD66D8 #C796E4

Accessibility & contrast

On white

5.81
#9335CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9335CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9335CB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9335CB#FFFFFF#000000##FFFFFF
##9335CB1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#0666C8
Tritanopia (blue-blind)
#8B587E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9335cb;
/* rgb */ color: rgb(147, 53, 203);
/* oklch */ color: oklch(53.5% 0.221 309.3);
Tailwind
colors: {
  custom: {
    50: '#b875dc',
    500: '#9335cb',
    950: '#000000',
  },
}
SCSS
$custom: #9335cb;
$custom-light: #b875dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9335cb",
  "rgb": {
    "r": 147,
    "g": 53,
    "b": 203
  },
  "hsl": {
    "h": 277.6,
    "s": 59.055,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53543,
    "c": 0.22141,
    "h": 309.3
  },
  "luminance": 0.13061
}

Semantic roles & 50–950 ramp

primary
#9335CB
secondary
#A5CF8C
accent
#E24680
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9335CB

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

Preview Lab → · Contrast checker → · Palette generator →

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