#9338C0#9338C0

#9338C0 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.1% C 0.208 H 312.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9338C0
RGBrgb(147, 56, 192)
HSLhsl(280, 55%, 49%)
HSVhsv(280, 71%, 75%)
CMYKcmyk(23.4%, 70.8%, 0%, 24.7%)
CIE-LABlab(42.52, 59.16, -54.56)
CIE-LCHlch(42.52, 80.48, 317.32°)
OKLaboklab(53.06% 0.139 -0.1541)
OKLCHoklch(53.06% 0.208 312)
XYZxyz(22.9595, 12.8378, 51.1274)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9338C0 #65C038
analogous
#4F38C0 #9338C0 #C038A9
triadic
#9338C0 #C09338 #38C093
tetradic
#9338C0 #C04F38 #65C038 #38A9C0
square
#9338C0 #C04F38 #65C038 #38A9C0
split-complementary
#9338C0 #A9C038 #38C04F
monochromatic
#4A1C61 #6F2A91 #9338C0 #AD64D2 #C693DF

Accessibility & contrast

On white

5.89
#9338C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9338C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9338C0
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9338C0#FFFFFF#000000##FFFFFF
##9338C01.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C4
Deuteranopia (green-blind)
#2866BD
Tritanopia (blue-blind)
#8E5578
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9338c0;
/* rgb */ color: rgb(147, 56, 192);
/* oklch */ color: oklch(53.1% 0.208 312.0);
Tailwind
colors: {
  custom: {
    50: '#b776d4',
    500: '#9338c0',
    950: '#000000',
  },
}
SCSS
$custom: #9338c0;
$custom-light: #b776d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9338c0",
  "rgb": {
    "r": 147,
    "g": 56,
    "b": 192
  },
  "hsl": {
    "h": 280.147,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.53062,
    "c": 0.20754,
    "h": 312
  },
  "luminance": 0.12837
}

Semantic roles & 50–950 ramp

primary
#9338C0
secondary
#9FCB89
accent
#DE4A7B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9338C0

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

Preview Lab → · Contrast checker → · Palette generator →

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