#9338C7#9338C7

#9338C7 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.6% C 0.214 H 310.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#9338C7
RGBrgb(147, 56, 199)
HSLhsl(278, 56%, 50%)
HSVhsv(278, 72%, 78%)
CMYKcmyk(26.1%, 71.9%, 0%, 22%)
CIE-LABlab(43.00, 60.65, -57.86)
CIE-LCHlch(43.00, 83.82, 316.35°)
OKLaboklab(53.55% 0.1381 -0.1638)
OKLCHoklch(53.55% 0.214 310.1)
XYZxyz(23.7536, 13.1554, 55.3097)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9338C7 #6CC738
analogous
#4C38C7 #9338C7 #C738B3
triadic
#9338C7 #C79338 #38C793
tetradic
#9338C7 #C74C38 #6CC738 #38B3C7
square
#9338C7 #C74C38 #6CC738 #38B3C7
split-complementary
#9338C7 #B3C738 #38C74C
monochromatic
#4C1D67 #702B97 #9338C7 #AD68D4 #C798E2

Accessibility & contrast

On white

5.78
#9338C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9338C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9338C7
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9338C7#FFFFFF#000000##FFFFFF
##9338C71.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#1B67C4
Tritanopia (blue-blind)
#8C587C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9338c7;
/* rgb */ color: rgb(147, 56, 199);
/* oklch */ color: oklch(53.6% 0.214 310.1);
Tailwind
colors: {
  custom: {
    50: '#b777d9',
    500: '#9338c7',
    950: '#000000',
  },
}
SCSS
$custom: #9338c7;
$custom-light: #b777d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9338c7",
  "rgb": {
    "r": 147,
    "g": 56,
    "b": 199
  },
  "hsl": {
    "h": 278.182,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.53554,
    "c": 0.21425,
    "h": 310.1
  },
  "luminance": 0.13155
}

Semantic roles & 50–950 ramp

primary
#9338C7
secondary
#A5CD8D
accent
#DF487F
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9338C7

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

Preview Lab → · Contrast checker → · Palette generator →

#9338C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva