#9338BD#9338BD

#9338BD is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 52.9% C 0.205 H 312.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9338BD
RGBrgb(147, 56, 189)
HSLhsl(281, 54%, 48%)
HSVhsv(281, 70%, 74%)
CMYKcmyk(22.2%, 70.4%, 0%, 25.9%)
CIE-LABlab(42.32, 58.53, -53.13)
CIE-LCHlch(42.32, 79.05, 317.77°)
OKLaboklab(52.86% 0.1393 -0.1499)
OKLCHoklch(52.86% 0.205 312.9)
XYZxyz(22.6305, 12.7062, 49.3947)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9338BD #62BD38
analogous
#5138BD #9338BD #BD38A4
triadic
#9338BD #BD9338 #38BD93
tetradic
#9338BD #BD5138 #62BD38 #38A4BD
square
#9338BD #BD5138 #62BD38 #38A4BD
split-complementary
#9338BD #A4BD38 #38BD51
monochromatic
#4A1C5F #6E2A8E #9338BD #AD62D0 #C691DE

Accessibility & contrast

On white

5.93
#9338BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9338BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9338BD
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9338BD#FFFFFF#000000##FFFFFF
##9338BD1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#2C66BA
Tritanopia (blue-blind)
#8E5477
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9338bd;
/* rgb */ color: rgb(147, 56, 189);
/* oklch */ color: oklch(52.9% 0.205 312.9);
Tailwind
colors: {
  custom: {
    50: '#b776d2',
    500: '#9338bd',
    950: '#000000',
  },
}
SCSS
$custom: #9338bd;
$custom-light: #b776d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9338bd",
  "rgb": {
    "r": 147,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 281.053,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52855,
    "c": 0.20467,
    "h": 312.9
  },
  "luminance": 0.12706
}

Semantic roles & 50–950 ramp

primary
#9338BD
secondary
#9CC987
accent
#DE4A79
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9338BD

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

Preview Lab → · Contrast checker → · Palette generator →

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