#9337CC#9337CC

#9337CC is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.8% C 0.220 H 308.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9337CC
RGBrgb(147, 55, 204)
HSLhsl(277, 59%, 51%)
HSVhsv(277, 73%, 80%)
CMYKcmyk(27.9%, 73%, 0%, 20%)
CIE-LABlab(43.21, 62.13, -60.42)
CIE-LCHlch(43.21, 86.66, 315.80°)
OKLaboklab(53.81% 0.1383 -0.1713)
OKLCHoklch(53.81% 0.22 308.9)
XYZxyz(24.2957, 13.2955, 58.4014)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9337CC #70CC37
analogous
#4837CC #9337CC #CC37BA
triadic
#9337CC #CC9337 #37CC93
tetradic
#9337CC #CC4837 #70CC37 #37BACC
square
#9337CC #CC4837 #70CC37 #37BACC
split-complementary
#9337CC #BACC37 #37CC48
monochromatic
#4E1C6D #71289E #9337CC #AD68D8 #C899E5

Accessibility & contrast

On white

5.74
#9337CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9337CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9337CC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9337CC#FFFFFF#000000##FFFFFF
##9337CC1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9337cc;
/* rgb */ color: rgb(147, 55, 204);
/* oklch */ color: oklch(53.8% 0.220 308.9);
Tailwind
colors: {
  custom: {
    50: '#b876dc',
    500: '#9337cc',
    950: '#000000',
  },
}
SCSS
$custom: #9337cc;
$custom-light: #b876dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9337cc",
  "rgb": {
    "r": 147,
    "g": 55,
    "b": 204
  },
  "hsl": {
    "h": 277.047,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53813,
    "c": 0.22017,
    "h": 308.9
  },
  "luminance": 0.13295
}

Semantic roles & 50–950 ramp

primary
#9337CC
secondary
#A8D08E
accent
#E34581
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9337CC

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

Preview Lab → · Contrast checker → · Palette generator →

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