#9338BF#9338BF

#9338BF is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.0% C 0.207 H 312.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9338BF
RGBrgb(147, 56, 191)
HSLhsl(280, 55%, 48%)
HSVhsv(280, 71%, 75%)
CMYKcmyk(23%, 70.7%, 0%, 25.1%)
CIE-LABlab(42.45, 58.95, -54.08)
CIE-LCHlch(42.45, 80.00, 317.47°)
OKLaboklab(52.99% 0.1391 -0.1527)
OKLCHoklch(52.99% 0.207 312.3)
XYZxyz(22.8491, 12.7936, 50.5459)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9338BF #64BF38
analogous
#4F38BF #9338BF #BF38A7
triadic
#9338BF #BF9338 #38BF93
tetradic
#9338BF #BF4F38 #64BF38 #38A7BF
square
#9338BF #BF4F38 #64BF38 #38A7BF
split-complementary
#9338BF #A7BF38 #38BF4F
monochromatic
#4A1C60 #6F2A90 #9338BF #AD63D1 #C692DF

Accessibility & contrast

On white

5.90
#9338BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9338BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9338BF
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9338BF#FFFFFF#000000##FFFFFF
##9338BF1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#2966BC
Tritanopia (blue-blind)
#8E5578
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9338bf;
/* rgb */ color: rgb(147, 56, 191);
/* oklch */ color: oklch(53.0% 0.207 312.3);
Tailwind
colors: {
  custom: {
    50: '#b776d3',
    500: '#9338bf',
    950: '#000000',
  },
}
SCSS
$custom: #9338bf;
$custom-light: #b776d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9338bf",
  "rgb": {
    "r": 147,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 280.444,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52993,
    "c": 0.20659,
    "h": 312.3
  },
  "luminance": 0.12793
}

Semantic roles & 50–950 ramp

primary
#9338BF
secondary
#9ECA89
accent
#DE4A7A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9338BF

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

Preview Lab → · Contrast checker → · Palette generator →

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