#9338C4#9338C4

#9338C4 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.3% C 0.211 H 310.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9338C4
RGBrgb(147, 56, 196)
HSLhsl(279, 56%, 49%)
HSVhsv(279, 71%, 77%)
CMYKcmyk(25%, 71.4%, 0%, 23.1%)
CIE-LABlab(42.79, 60.01, -56.45)
CIE-LCHlch(42.79, 82.39, 316.75°)
OKLaboklab(53.34% 0.1385 -0.1597)
OKLCHoklch(53.34% 0.211 310.9)
XYZxyz(23.4087, 13.0175, 53.4933)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9338C4 #69C438
analogous
#4D38C4 #9338C4 #C438AF
triadic
#9338C4 #C49338 #38C493
tetradic
#9338C4 #C44D38 #69C438 #38AFC4
square
#9338C4 #C44D38 #69C438 #38AFC4
split-complementary
#9338C4 #AFC438 #38C44D
monochromatic
#4C1D65 #6F2A94 #9338C4 #AD66D3 #C796E1

Accessibility & contrast

On white

5.83
#9338C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9338C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9338C4
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9338C4#FFFFFF#000000##FFFFFF
##9338C41.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#2167C1
Tritanopia (blue-blind)
#8D577B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9338c4;
/* rgb */ color: rgb(147, 56, 196);
/* oklch */ color: oklch(53.3% 0.211 310.9);
Tailwind
colors: {
  custom: {
    50: '#b777d7',
    500: '#9338c4',
    950: '#000000',
  },
}
SCSS
$custom: #9338c4;
$custom-light: #b777d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9338c4",
  "rgb": {
    "r": 147,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 279,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53342,
    "c": 0.21137,
    "h": 310.9
  },
  "luminance": 0.13017
}

Semantic roles & 50–950 ramp

primary
#9338C4
secondary
#A2CC8C
accent
#DF497D
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9338C4

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

Preview Lab → · Contrast checker → · Palette generator →

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