#9339D2#9339D2

#9339D2 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.5% C 0.224 H 307.2°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9339D2
RGBrgb(147, 57, 210)
HSLhsl(275, 63%, 52%)
HSVhsv(275, 73%, 82%)
CMYKcmyk(30%, 72.9%, 0%, 17.6%)
CIE-LABlab(43.92, 62.62, -62.72)
CIE-LCHlch(43.92, 88.63, 314.95°)
OKLaboklab(54.45% 0.1354 -0.1781)
OKLCHoklch(54.45% 0.224 307.2)
XYZxyz(25.1261, 13.7828, 62.2970)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9339D2 #78D239
analogous
#4639D2 #9339D2 #D239C5
triadic
#9339D2 #D29339 #39D293
tetradic
#9339D2 #D24639 #78D239 #39C5D2
square
#9339D2 #D24639 #78D239 #39C5D2
split-complementary
#9339D2 #C5D239 #39D246
monochromatic
#501B76 #7226A8 #9339D2 #AE6BDD #C99DE9

Accessibility & contrast

On white

5.59
#9339D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9339D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9339D2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9339D2#FFFFFF#000000##FFFFFF
##9339D21.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#0068CF
Tritanopia (blue-blind)
#885D83
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9339d2;
/* rgb */ color: rgb(147, 57, 210);
/* oklch */ color: oklch(54.5% 0.224 307.2);
Tailwind
colors: {
  custom: {
    50: '#b878e1',
    500: '#9339d2',
    950: '#000000',
  },
}
SCSS
$custom: #9339d2;
$custom-light: #b878e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9339d2",
  "rgb": {
    "r": 147,
    "g": 57,
    "b": 210
  },
  "hsl": {
    "h": 275.294,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54454,
    "c": 0.22372,
    "h": 307.2
  },
  "luminance": 0.13782
}

Semantic roles & 50–950 ramp

primary
#9339D2
secondary
#AED592
accent
#E64285
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9339D2

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

Preview Lab → · Contrast checker → · Palette generator →

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