#9335DC#9335DC

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

Color values

HEX#9335DC
RGBrgb(147, 53, 220)
HSLhsl(274, 70%, 54%)
HSVhsv(274, 76%, 86%)
CMYKcmyk(33.2%, 75.9%, 0%, 13.7%)
CIE-LABlab(44.11, 66.38, -68.15)
CIE-LCHlch(44.11, 95.13, 314.25°)
OKLaboklab(54.82% 0.1369 -0.194)
OKLCHoklch(54.82% 0.237 305.2)
XYZxyz(26.2211, 13.9167, 69.0011)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9335DC #7EDC35
analogous
#3F35DC #9335DC #DC35D2
triadic
#9335DC #DC9335 #35DC93
tetradic
#9335DC #DC3F35 #7EDC35 #35D2DC
square
#9335DC #DC3F35 #7EDC35 #35D2DC
split-complementary
#9335DC #D2DC35 #35DC3F
monochromatic
#521680 #731FB5 #9335DC #AF69E5 #CB9DEE

Accessibility & contrast

On white

5.55
#9335DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#9335DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9335DC
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9335DC#FFFFFF#000000##FFFFFF
##9335DC1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E1
Deuteranopia (green-blind)
#0068D9
Tritanopia (blue-blind)
#856087
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9335dc;
/* rgb */ color: rgb(147, 53, 220);
/* oklch */ color: oklch(54.8% 0.237 305.2);
Tailwind
colors: {
  custom: {
    50: '#b976e8',
    500: '#9335dc',
    950: '#000000',
  },
}
SCSS
$custom: #9335dc;
$custom-light: #b976e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9335dc",
  "rgb": {
    "r": 147,
    "g": 53,
    "b": 220
  },
  "hsl": {
    "h": 273.772,
    "s": 70.464,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54823,
    "c": 0.23746,
    "h": 305.2
  },
  "luminance": 0.13917
}

Semantic roles & 50–950 ramp

primary
#9335DC
secondary
#B2DA93
accent
#ED3B89
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #9335DC

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

Preview Lab → · Contrast checker → · Palette generator →

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