#9336C6#9336C6

#9336C6 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.3% C 0.216 H 310.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9336C6
RGBrgb(147, 54, 198)
HSLhsl(279, 57%, 49%)
HSVhsv(279, 73%, 78%)
CMYKcmyk(25.8%, 72.7%, 0%, 22.4%)
CIE-LABlab(42.64, 61.25, -57.86)
CIE-LCHlch(42.64, 84.25, 316.63°)
OKLaboklab(53.28% 0.1402 -0.1638)
OKLCHoklch(53.28% 0.216 310.6)
XYZxyz(23.5429, 12.9191, 54.6686)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9336C6 #69C636
analogous
#4B36C6 #9336C6 #C636B1
triadic
#9336C6 #C69336 #36C693
tetradic
#9336C6 #C64B36 #69C636 #36B1C6
square
#9336C6 #C64B36 #69C636 #36B1C6
split-complementary
#9336C6 #B1C636 #36C64B
monochromatic
#4C1C66 #6F2996 #9336C6 #AD64D5 #C794E2

Accessibility & contrast

On white

5.86
#9336C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9336C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9336C6
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9336C6#FFFFFF#000000##FFFFFF
##9336C61.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CA
Deuteranopia (green-blind)
#1A66C3
Tritanopia (blue-blind)
#8C577B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9336c6;
/* rgb */ color: rgb(147, 54, 198);
/* oklch */ color: oklch(53.3% 0.216 310.6);
Tailwind
colors: {
  custom: {
    50: '#b776d8',
    500: '#9336c6',
    950: '#000000',
  },
}
SCSS
$custom: #9336c6;
$custom-light: #b776d8;
$custom-dark: #000000;
JSON
{
  "hex": "#9336c6",
  "rgb": {
    "r": 147,
    "g": 54,
    "b": 198
  },
  "hsl": {
    "h": 278.75,
    "s": 57.143,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5328,
    "c": 0.21558,
    "h": 310.6
  },
  "luminance": 0.12919
}

Semantic roles & 50–950 ramp

primary
#9336C6
secondary
#A2CD8B
accent
#E0477E
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120915
muted
#817B83

Preview Lab

Preview with #9336C6

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

Preview Lab → · Contrast checker → · Palette generator →

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