#9336C2#9336C2

#9336C2 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 53.0% C 0.212 H 311.6°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#9336C2
RGBrgb(147, 54, 194)
HSLhsl(280, 56%, 49%)
HSVhsv(280, 72%, 76%)
CMYKcmyk(24.2%, 72.2%, 0%, 23.9%)
CIE-LABlab(42.36, 60.40, -55.97)
CIE-LCHlch(42.36, 82.35, 317.18°)
OKLaboklab(53% 0.1407 -0.1583)
OKLCHoklch(53% 0.212 311.6)
XYZxyz(23.0876, 12.7370, 52.2708)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9336C2 #65C236
analogous
#4D36C2 #9336C2 #C236AB
triadic
#9336C2 #C29336 #36C293
tetradic
#9336C2 #C24D36 #65C236 #36ABC2
square
#9336C2 #C24D36 #65C236 #36ABC2
split-complementary
#9336C2 #ABC236 #36C24D
monochromatic
#4A1B62 #6F2992 #9336C2 #AD62D3 #C692E1

Accessibility & contrast

On white

5.92
#9336C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#9336C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9336C2
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9336C2#FFFFFF#000000##FFFFFF
##9336C21.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#2266BF
Tritanopia (blue-blind)
#8D5579
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9336c2;
/* rgb */ color: rgb(147, 54, 194);
/* oklch */ color: oklch(53.0% 0.212 311.6);
Tailwind
colors: {
  custom: {
    50: '#b776d5',
    500: '#9336c2',
    950: '#000000',
  },
}
SCSS
$custom: #9336c2;
$custom-light: #b776d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9336c2",
  "rgb": {
    "r": 147,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 279.857,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52996,
    "c": 0.2118,
    "h": 311.6
  },
  "luminance": 0.12736
}

Semantic roles & 50–950 ramp

primary
#9336C2
secondary
#9FCC88
accent
#E0487B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9336C2

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

Preview Lab → · Contrast checker → · Palette generator →

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