#9336C8#9336C8

#9336C8 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.4% C 0.217 H 310.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9336C8
RGBrgb(147, 54, 200)
HSLhsl(278, 57%, 50%)
HSVhsv(278, 73%, 78%)
CMYKcmyk(26.5%, 73%, 0%, 21.6%)
CIE-LABlab(42.78, 61.67, -58.79)
CIE-LCHlch(42.78, 85.20, 316.37°)
OKLaboklab(53.42% 0.1399 -0.1665)
OKLCHoklch(53.42% 0.217 310)
XYZxyz(23.7751, 13.0120, 55.8915)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9336C8 #6BC836
analogous
#4A36C8 #9336C8 #C836B4
triadic
#9336C8 #C89336 #36C893
tetradic
#9336C8 #C84A36 #6BC836 #36B4C8
square
#9336C8 #C84A36 #6BC836 #36B4C8
split-complementary
#9336C8 #B4C836 #36C84A
monochromatic
#4C1C68 #702998 #9336C8 #AD66D6 #C796E3

Accessibility & contrast

On white

5.83
#9336C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9336C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9336C8
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9336C8#FFFFFF#000000##FFFFFF
##9336C81.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#1566C5
Tritanopia (blue-blind)
#8C587C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9336c8;
/* rgb */ color: rgb(147, 54, 200);
/* oklch */ color: oklch(53.4% 0.217 310.0);
Tailwind
colors: {
  custom: {
    50: '#b776da',
    500: '#9336c8',
    950: '#000000',
  },
}
SCSS
$custom: #9336c8;
$custom-light: #b776da;
$custom-dark: #000000;
JSON
{
  "hex": "#9336c8",
  "rgb": {
    "r": 147,
    "g": 54,
    "b": 200
  },
  "hsl": {
    "h": 278.219,
    "s": 57.48,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53424,
    "c": 0.21748,
    "h": 310
  },
  "luminance": 0.13012
}

Semantic roles & 50–950 ramp

primary
#9336C8
secondary
#A4CE8C
accent
#E1477F
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9336C8

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

Preview Lab → · Contrast checker → · Palette generator →

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