#9339CD#9339CD

#9339CD is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.1% C 0.219 H 308.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#9339CD
RGBrgb(147, 57, 205)
HSLhsl(276, 60%, 51%)
HSVhsv(276, 72%, 80%)
CMYKcmyk(28.3%, 72.2%, 0%, 19.6%)
CIE-LABlab(43.56, 61.53, -60.42)
CIE-LCHlch(43.56, 86.24, 315.52°)
OKLaboklab(54.09% 0.1362 -0.1714)
OKLCHoklch(54.09% 0.219 308.5)
XYZxyz(24.5129, 13.5375, 59.0674)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9339CD #73CD39
analogous
#4939CD #9339CD #CD39BD
triadic
#9339CD #CD9339 #39CD93
tetradic
#9339CD #CD4939 #73CD39 #39BDCD
square
#9339CD #CD4939 #73CD39 #39BDCD
split-complementary
#9339CD #BDCD39 #39CD49
monochromatic
#4F1C6F #7128A0 #9339CD #AE6AD9 #C89BE6

Accessibility & contrast

On white

5.66
#9339CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9339CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9339CD
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9339CD#FFFFFF#000000##FFFFFF
##9339CD1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#0B68CA
Tritanopia (blue-blind)
#8A5B80
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9339cd;
/* rgb */ color: rgb(147, 57, 205);
/* oklch */ color: oklch(54.1% 0.219 308.5);
Tailwind
colors: {
  custom: {
    50: '#b877dd',
    500: '#9339cd',
    950: '#000000',
  },
}
SCSS
$custom: #9339cd;
$custom-light: #b877dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9339cd",
  "rgb": {
    "r": 147,
    "g": 57,
    "b": 205
  },
  "hsl": {
    "h": 276.486,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54088,
    "c": 0.21888,
    "h": 308.5
  },
  "luminance": 0.13537
}

Semantic roles & 50–950 ramp

primary
#9339CD
secondary
#AAD290
accent
#E34583
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9339CD

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

Preview Lab → · Contrast checker → · Palette generator →

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