#9335C9#9335C9

#9335C9 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.4% C 0.220 H 309.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9335C9
RGBrgb(147, 53, 201)
HSLhsl(278, 58%, 50%)
HSVhsv(278, 74%, 79%)
CMYKcmyk(26.9%, 73.6%, 0%, 21.2%)
CIE-LABlab(42.71, 62.28, -59.48)
CIE-LCHlch(42.71, 86.12, 316.32°)
OKLaboklab(53.4% 0.1406 -0.1686)
OKLCHoklch(53.4% 0.22 309.8)
XYZxyz(23.8463, 12.9668, 56.4937)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9335C9 #6BC935
analogous
#4935C9 #9335C9 #C935B5
triadic
#9335C9 #C99335 #35C993
tetradic
#9335C9 #C94935 #6BC935 #35B5C9
square
#9335C9 #C94935 #6BC935 #35B5C9
split-complementary
#9335C9 #B5C935 #35C949
monochromatic
#4C1B68 #702899 #9335C9 #AD65D6 #C795E3

Accessibility & contrast

On white

5.84
#9335C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9335C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9335C9
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9335C9#FFFFFF#000000##FFFFFF
##9335C91.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CD
Deuteranopia (green-blind)
#0F66C6
Tritanopia (blue-blind)
#8B587D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9335c9;
/* rgb */ color: rgb(147, 53, 201);
/* oklch */ color: oklch(53.4% 0.220 309.8);
Tailwind
colors: {
  custom: {
    50: '#b875da',
    500: '#9335c9',
    950: '#000000',
  },
}
SCSS
$custom: #9335c9;
$custom-light: #b875da;
$custom-dark: #000000;
JSON
{
  "hex": "#9335c9",
  "rgb": {
    "r": 147,
    "g": 53,
    "b": 201
  },
  "hsl": {
    "h": 278.108,
    "s": 58.268,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53398,
    "c": 0.21952,
    "h": 309.8
  },
  "luminance": 0.12966
}

Semantic roles & 50–950 ramp

primary
#9335C9
secondary
#A4CE8B
accent
#E1467F
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9335C9

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

Preview Lab → · Contrast checker → · Palette generator →

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