#9336CC#9336CC

#9336CC is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.7% C 0.221 H 309.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9336CC
RGBrgb(147, 54, 204)
HSLhsl(277, 60%, 51%)
HSVhsv(277, 74%, 80%)
CMYKcmyk(27.9%, 73.5%, 0%, 20%)
CIE-LABlab(43.07, 62.53, -60.65)
CIE-LCHlch(43.07, 87.11, 315.87°)
OKLaboklab(53.71% 0.1392 -0.172)
OKLCHoklch(53.71% 0.221 309)
XYZxyz(24.2487, 13.2015, 58.3858)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9336CC #6FCC36
analogous
#4836CC #9336CC #CC36BA
triadic
#9336CC #CC9336 #36CC93
tetradic
#9336CC #CC4836 #6FCC36 #36BACC
square
#9336CC #CC4836 #6FCC36 #36BACC
split-complementary
#9336CC #BACC36 #36CC48
monochromatic
#4D1B6C #70289D #9336CC #AD67D8 #C798E5

Accessibility & contrast

On white

5.77
#9336CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9336CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9336CC
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9336CC#FFFFFF#000000##FFFFFF
##9336CC1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#0467C9
Tritanopia (blue-blind)
#8A597E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9336cc;
/* rgb */ color: rgb(147, 54, 204);
/* oklch */ color: oklch(53.7% 0.221 309.0);
Tailwind
colors: {
  custom: {
    50: '#b876dc',
    500: '#9336cc',
    950: '#000000',
  },
}
SCSS
$custom: #9336cc;
$custom-light: #b876dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9336cc",
  "rgb": {
    "r": 147,
    "g": 54,
    "b": 204
  },
  "hsl": {
    "h": 277.2,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53714,
    "c": 0.22127,
    "h": 309
  },
  "luminance": 0.13201
}

Semantic roles & 50–950 ramp

primary
#9336CC
secondary
#A7D08E
accent
#E34581
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9336CC

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

Preview Lab → · Contrast checker → · Palette generator →

#9336CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva