#9337CA#9337CA

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

Color values

HEX#9337CA
RGBrgb(147, 55, 202)
HSLhsl(278, 58%, 50%)
HSVhsv(278, 73%, 79%)
CMYKcmyk(27.2%, 72.8%, 0%, 20.8%)
CIE-LABlab(43.06, 61.70, -59.49)
CIE-LCHlch(43.06, 85.71, 316.04°)
OKLaboklab(53.67% 0.1386 -0.1686)
OKLCHoklch(53.67% 0.218 309.4)
XYZxyz(24.0573, 13.2002, 57.1462)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9337CA #6ECA37
analogous
#4937CA #9337CA #CA37B8
triadic
#9337CA #CA9337 #37CA93
tetradic
#9337CA #CA4937 #6ECA37 #37B8CA
square
#9337CA #CA4937 #6ECA37 #37B8CA
split-complementary
#9337CA #B8CA37 #37CA49
monochromatic
#4D1C6A #70299B #9337CA #AD67D7 #C798E4

Accessibility & contrast

On white

5.77
#9337CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9337CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9337CA
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9337CA#FFFFFF#000000##FFFFFF
##9337CA1.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)
#0062CE
Deuteranopia (green-blind)
#1167C7
Tritanopia (blue-blind)
#8B597E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9337ca;
/* rgb */ color: rgb(147, 55, 202);
/* oklch */ color: oklch(53.7% 0.218 309.4);
Tailwind
colors: {
  custom: {
    50: '#b876db',
    500: '#9337ca',
    950: '#000000',
  },
}
SCSS
$custom: #9337ca;
$custom-light: #b876db;
$custom-dark: #000000;
JSON
{
  "hex": "#9337ca",
  "rgb": {
    "r": 147,
    "g": 55,
    "b": 202
  },
  "hsl": {
    "h": 277.551,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53668,
    "c": 0.21826,
    "h": 309.4
  },
  "luminance": 0.132
}

Semantic roles & 50–950 ramp

primary
#9337CA
secondary
#A6CF8E
accent
#E14680
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9337CA

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

Preview Lab → · Contrast checker → · Palette generator →

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