#9335DB#9335DB

#9335DB is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.7% C 0.237 H 305.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9335DB
RGBrgb(147, 53, 219)
HSLhsl(274, 70%, 53%)
HSVhsv(274, 76%, 86%)
CMYKcmyk(32.9%, 75.8%, 0%, 14.1%)
CIE-LABlab(44.04, 66.16, -67.70)
CIE-LCHlch(44.04, 94.66, 314.34°)
OKLaboklab(54.75% 0.1371 -0.1927)
OKLCHoklch(54.75% 0.237 305.4)
XYZxyz(26.0890, 13.8639, 68.3057)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9335DB #7DDB35
analogous
#4035DB #9335DB #DB35D0
triadic
#9335DB #DB9335 #35DB93
tetradic
#9335DB #DB4035 #7DDB35 #35D0DB
square
#9335DB #DB4035 #7DDB35 #35D0DB
split-complementary
#9335DB #D0DB35 #35DB40
monochromatic
#52177F #7320B3 #9335DB #AF69E4 #CB9DEE

Accessibility & contrast

On white

5.57
#9335DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9335DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9335DB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9335DB#FFFFFF#000000##FFFFFF
##9335DB1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E0
Deuteranopia (green-blind)
#0068D8
Tritanopia (blue-blind)
#865F87
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9335db;
/* rgb */ color: rgb(147, 53, 219);
/* oklch */ color: oklch(54.7% 0.237 305.4);
Tailwind
colors: {
  custom: {
    50: '#b976e7',
    500: '#9335db',
    950: '#000000',
  },
}
SCSS
$custom: #9335db;
$custom-light: #b976e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9335db",
  "rgb": {
    "r": 147,
    "g": 53,
    "b": 219
  },
  "hsl": {
    "h": 273.976,
    "s": 69.748,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54746,
    "c": 0.23652,
    "h": 305.4
  },
  "luminance": 0.13864
}

Semantic roles & 50–950 ramp

primary
#9335DB
secondary
#B1DA92
accent
#ED3B88
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #9335DB

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

Preview Lab → · Contrast checker → · Palette generator →

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