#9339CA#9339CA

#9339CA is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.9% C 0.216 H 309.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#9339CA
RGBrgb(147, 57, 202)
HSLhsl(277, 58%, 51%)
HSVhsv(277, 72%, 79%)
CMYKcmyk(27.2%, 71.8%, 0%, 20.8%)
CIE-LABlab(43.35, 60.88, -59.03)
CIE-LCHlch(43.35, 84.80, 315.89°)
OKLaboklab(53.87% 0.1366 -0.1673)
OKLCHoklch(53.87% 0.216 309.2)
XYZxyz(24.1543, 13.3940, 57.1785)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9339CA #70CA39
analogous
#4A39CA #9339CA #CA39B9
triadic
#9339CA #CA9339 #39CA93
tetradic
#9339CA #CA4A39 #70CA39 #39B9CA
square
#9339CA #CA4A39 #70CA39 #39B9CA
split-complementary
#9339CA #B9CA39 #39CA4A
monochromatic
#4E1D6C #712A9C #9339CA #AD69D7 #C89AE4

Accessibility & contrast

On white

5.71
#9339CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9339CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9339CA
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9339CA#FFFFFF#000000##FFFFFF
##9339CA1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#1568C7
Tritanopia (blue-blind)
#8B5A7E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9339ca;
/* rgb */ color: rgb(147, 57, 202);
/* oklch */ color: oklch(53.9% 0.216 309.2);
Tailwind
colors: {
  custom: {
    50: '#b777db',
    500: '#9339ca',
    950: '#000000',
  },
}
SCSS
$custom: #9339ca;
$custom-light: #b777db;
$custom-dark: #000000;
JSON
{
  "hex": "#9339ca",
  "rgb": {
    "r": 147,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 277.241,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53872,
    "c": 0.21599,
    "h": 309.2
  },
  "luminance": 0.13394
}

Semantic roles & 50–950 ramp

primary
#9339CA
secondary
#A8D08F
accent
#E14781
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9339CA

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

Preview Lab → · Contrast checker → · Palette generator →

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