#9336CD#9336CD

#9336CD is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.8% C 0.222 H 308.7°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9336CD
RGBrgb(147, 54, 205)
HSLhsl(277, 60%, 51%)
HSVhsv(277, 74%, 80%)
CMYKcmyk(28.3%, 73.7%, 0%, 19.6%)
CIE-LABlab(43.14, 62.74, -61.11)
CIE-LCHlch(43.14, 87.58, 315.75°)
OKLaboklab(53.79% 0.139 -0.1734)
OKLCHoklch(53.79% 0.222 308.7)
XYZxyz(24.3690, 13.2496, 59.0194)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9336CD #70CD36
analogous
#4836CD #9336CD #CD36BB
triadic
#9336CD #CD9336 #36CD93
tetradic
#9336CD #CD4836 #70CD36 #36BBCD
square
#9336CD #CD4836 #70CD36 #36BBCD
split-complementary
#9336CD #BBCD36 #36CD48
monochromatic
#4E1B6D #71279E #9336CD #AD67D9 #C898E5

Accessibility & contrast

On white

5.75
#9336CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#9336CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9336CD
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9336CD#FFFFFF#000000##FFFFFF
##9336CD1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#0067CA
Tritanopia (blue-blind)
#8A5A7F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9336cd;
/* rgb */ color: rgb(147, 54, 205);
/* oklch */ color: oklch(53.8% 0.222 308.7);
Tailwind
colors: {
  custom: {
    50: '#b876dd',
    500: '#9336cd',
    950: '#000000',
  },
}
SCSS
$custom: #9336cd;
$custom-light: #b876dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9336cd",
  "rgb": {
    "r": 147,
    "g": 54,
    "b": 205
  },
  "hsl": {
    "h": 276.954,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53787,
    "c": 0.22222,
    "h": 308.7
  },
  "luminance": 0.13249
}

Semantic roles & 50–950 ramp

primary
#9336CD
secondary
#A8D18E
accent
#E34481
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9336CD

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

Preview Lab → · Contrast checker → · Palette generator →

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