#9339CC#9339CC

#9339CC is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.0% C 0.218 H 308.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9339CC
RGBrgb(147, 57, 204)
HSLhsl(277, 59%, 51%)
HSVhsv(277, 72%, 80%)
CMYKcmyk(27.9%, 72.1%, 0%, 20%)
CIE-LABlab(43.49, 61.31, -59.96)
CIE-LCHlch(43.49, 85.76, 315.64°)
OKLaboklab(54.02% 0.1363 -0.17)
OKLCHoklch(54.02% 0.218 308.7)
XYZxyz(24.3926, 13.4894, 58.4337)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9339CC #72CC39
analogous
#4939CC #9339CC #CC39BB
triadic
#9339CC #CC9339 #39CC93
tetradic
#9339CC #CC4939 #72CC39 #39BBCC
square
#9339CC #CC4939 #72CC39 #39BBCC
split-complementary
#9339CC #BBCC39 #39CC49
monochromatic
#4E1C6E #71299F #9339CC #AE6AD9 #C89AE5

Accessibility & contrast

On white

5.68
#9339CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#9339CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9339CC
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9339CC#FFFFFF#000000##FFFFFF
##9339CC1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#0F68C9
Tritanopia (blue-blind)
#8A5B7F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9339cc;
/* rgb */ color: rgb(147, 57, 204);
/* oklch */ color: oklch(54.0% 0.218 308.7);
Tailwind
colors: {
  custom: {
    50: '#b877dc',
    500: '#9339cc',
    950: '#000000',
  },
}
SCSS
$custom: #9339cc;
$custom-light: #b877dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9339cc",
  "rgb": {
    "r": 147,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 276.735,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54016,
    "c": 0.21792,
    "h": 308.7
  },
  "luminance": 0.13489
}

Semantic roles & 50–950 ramp

primary
#9339CC
secondary
#A9D190
accent
#E24682
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9339CC

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

Preview Lab → · Contrast checker → · Palette generator →

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