#9338D3#9338D3

#9338D3 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.4% C 0.226 H 307.1°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#9338D3
RGBrgb(147, 56, 211)
HSLhsl(275, 64%, 52%)
HSVhsv(275, 73%, 83%)
CMYKcmyk(30.3%, 73.5%, 0%, 17.3%)
CIE-LABlab(43.85, 63.25, -63.41)
CIE-LCHlch(43.85, 89.56, 314.92°)
OKLaboklab(54.43% 0.1361 -0.1801)
OKLCHoklch(54.43% 0.226 307.1)
XYZxyz(25.2021, 13.7348, 62.9388)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9338D3 #78D338
analogous
#4638D3 #9338D3 #D338C5
triadic
#9338D3 #D39338 #38D393
tetradic
#9338D3 #D34638 #78D338 #38C5D3
square
#9338D3 #D34638 #78D338 #38C5D3
split-complementary
#9338D3 #C5D338 #38D346
monochromatic
#501A76 #7225A9 #9338D3 #AE6ADE #C99CE9

Accessibility & contrast

On white

5.60
#9338D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9338D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9338D3
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9338D3#FFFFFF#000000##FFFFFF
##9338D31.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D7
Deuteranopia (green-blind)
#0068D0
Tritanopia (blue-blind)
#885D83
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9338d3;
/* rgb */ color: rgb(147, 56, 211);
/* oklch */ color: oklch(54.4% 0.226 307.1);
Tailwind
colors: {
  custom: {
    50: '#b877e1',
    500: '#9338d3',
    950: '#000000',
  },
}
SCSS
$custom: #9338d3;
$custom-light: #b877e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9338d3",
  "rgb": {
    "r": 147,
    "g": 56,
    "b": 211
  },
  "hsl": {
    "h": 275.226,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54428,
    "c": 0.22578,
    "h": 307.1
  },
  "luminance": 0.13735
}

Semantic roles & 50–950 ramp

primary
#9338D3
secondary
#AED592
accent
#E74185
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9338D3

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

Preview Lab → · Contrast checker → · Palette generator →

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