#9336D9#9336D9

#9336D9 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.7% C 0.234 H 305.8°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9336D9
RGBrgb(147, 54, 217)
HSLhsl(274, 68%, 53%)
HSVhsv(274, 75%, 85%)
CMYKcmyk(32.3%, 75.1%, 0%, 14.9%)
CIE-LABlab(44.02, 65.34, -66.58)
CIE-LCHlch(44.02, 93.29, 314.46°)
OKLaboklab(54.69% 0.1367 -0.1894)
OKLCHoklch(54.69% 0.234 305.8)
XYZxyz(25.8734, 13.8513, 66.9427)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9336D9 #7CD936
analogous
#4136D9 #9336D9 #D936CE
triadic
#9336D9 #D99336 #36D993
tetradic
#9336D9 #D94136 #7CD936 #36CED9
square
#9336D9 #D94136 #7CD936 #36CED9
split-complementary
#9336D9 #CED936 #36D941
monochromatic
#51187D #7321B0 #9336D9 #AF69E3 #CA9DEC

Accessibility & contrast

On white

5.57
#9336D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9336D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9336D9
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9336D9#FFFFFF#000000##FFFFFF
##9336D91.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DE
Deuteranopia (green-blind)
#0068D6
Tritanopia (blue-blind)
#865F86
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9336d9;
/* rgb */ color: rgb(147, 54, 217);
/* oklch */ color: oklch(54.7% 0.234 305.8);
Tailwind
colors: {
  custom: {
    50: '#b976e6',
    500: '#9336d9',
    950: '#000000',
  },
}
SCSS
$custom: #9336d9;
$custom-light: #b976e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9336d9",
  "rgb": {
    "r": 147,
    "g": 54,
    "b": 217
  },
  "hsl": {
    "h": 274.233,
    "s": 68.201,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54686,
    "c": 0.23361,
    "h": 305.8
  },
  "luminance": 0.13851
}

Semantic roles & 50–950 ramp

primary
#9336D9
secondary
#B0D992
accent
#EB3D88
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #9336D9

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

Preview Lab → · Contrast checker → · Palette generator →

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