#9336C4#9336C4

#9336C4 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.1% C 0.214 H 311.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9336C4
RGBrgb(147, 54, 196)
HSLhsl(279, 57%, 49%)
HSVhsv(279, 72%, 77%)
CMYKcmyk(25%, 72.4%, 0%, 23.1%)
CIE-LABlab(42.50, 60.82, -56.92)
CIE-LCHlch(42.50, 83.30, 316.90°)
OKLaboklab(53.14% 0.1405 -0.161)
OKLCHoklch(53.14% 0.214 311.1)
XYZxyz(23.3137, 12.8275, 53.4617)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9336C4 #67C436
analogous
#4C36C4 #9336C4 #C436AE
triadic
#9336C4 #C49336 #36C493
tetradic
#9336C4 #C44C36 #67C436 #36AEC4
square
#9336C4 #C44C36 #67C436 #36AEC4
split-complementary
#9336C4 #AEC436 #36C44C
monochromatic
#4B1C64 #6F2994 #9336C4 #AD63D4 #C693E1

Accessibility & contrast

On white

5.89
#9336C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9336C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9336C4
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9336C4#FFFFFF#000000##FFFFFF
##9336C41.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#1E66C1
Tritanopia (blue-blind)
#8D567A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9336c4;
/* rgb */ color: rgb(147, 54, 196);
/* oklch */ color: oklch(53.1% 0.214 311.1);
Tailwind
colors: {
  custom: {
    50: '#b776d7',
    500: '#9336c4',
    950: '#000000',
  },
}
SCSS
$custom: #9336c4;
$custom-light: #b776d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9336c4",
  "rgb": {
    "r": 147,
    "g": 54,
    "b": 196
  },
  "hsl": {
    "h": 279.296,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.53137,
    "c": 0.21368,
    "h": 311.1
  },
  "luminance": 0.12827
}

Semantic roles & 50–950 ramp

primary
#9336C4
secondary
#A1CC89
accent
#E0487C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9336C4

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

Preview Lab → · Contrast checker → · Palette generator →

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