#9336C5#9336C5

#9336C5 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.2% C 0.215 H 310.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9336C5
RGBrgb(147, 54, 197)
HSLhsl(279, 57%, 49%)
HSVhsv(279, 73%, 77%)
CMYKcmyk(25.4%, 72.6%, 0%, 22.7%)
CIE-LABlab(42.57, 61.04, -57.39)
CIE-LCHlch(42.57, 83.78, 316.76°)
OKLaboklab(53.21% 0.1403 -0.1624)
OKLCHoklch(53.21% 0.215 310.8)
XYZxyz(23.4279, 12.8731, 54.0631)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9336C5 #68C536
analogous
#4C36C5 #9336C5 #C536B0
triadic
#9336C5 #C59336 #36C593
tetradic
#9336C5 #C54C36 #68C536 #36B0C5
square
#9336C5 #C54C36 #68C536 #36B0C5
split-complementary
#9336C5 #B0C536 #36C54C
monochromatic
#4B1C65 #6F2995 #9336C5 #AD64D4 #C694E2

Accessibility & contrast

On white

5.87
#9336C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9336C5
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9336C5#FFFFFF#000000##FFFFFF
##9336C51.005.873.575.87
#FFFFFF5.871.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C9
Deuteranopia (green-blind)
#1C66C2
Tritanopia (blue-blind)
#8C567B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9336c5;
/* rgb */ color: rgb(147, 54, 197);
/* oklch */ color: oklch(53.2% 0.215 310.8);
Tailwind
colors: {
  custom: {
    50: '#b776d7',
    500: '#9336c5',
    950: '#000000',
  },
}
SCSS
$custom: #9336c5;
$custom-light: #b776d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9336c5",
  "rgb": {
    "r": 147,
    "g": 54,
    "b": 197
  },
  "hsl": {
    "h": 279.021,
    "s": 56.972,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53209,
    "c": 0.21464,
    "h": 310.8
  },
  "luminance": 0.12873
}

Semantic roles & 50–950 ramp

primary
#9336C5
secondary
#A1CD8A
accent
#E0487D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9336C5

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

Preview Lab → · Contrast checker → · Palette generator →

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