#9338DA#9338DA

#9338DA is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 55.0% C 0.233 H 305.4°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#9338DA
RGBrgb(147, 56, 218)
HSLhsl(274, 69%, 54%)
HSVhsv(274, 74%, 85%)
CMYKcmyk(32.6%, 74.3%, 0%, 14.5%)
CIE-LABlab(44.37, 64.78, -66.59)
CIE-LCHlch(44.37, 92.90, 314.21°)
OKLaboklab(54.95% 0.1347 -0.1895)
OKLCHoklch(54.95% 0.233 305.4)
XYZxyz(26.0989, 14.0935, 67.6615)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9338DA #7FDA38
analogous
#4238DA #9338DA #DA38D0
triadic
#9338DA #DA9338 #38DA93
tetradic
#9338DA #DA4238 #7FDA38 #38D0DA
square
#9338DA #DA4238 #7FDA38 #38D0DA
split-complementary
#9338DA #D0DA38 #38DA42
monochromatic
#521880 #7321B3 #9338DA #AF6CE4 #CB9FED

Accessibility & contrast

On white

5.50
#9338DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#9338DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9338DA
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9338DA#FFFFFF#000000##FFFFFF
##9338DA1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DF
Deuteranopia (green-blind)
#0069D7
Tritanopia (blue-blind)
#866087
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9338da;
/* rgb */ color: rgb(147, 56, 218);
/* oklch */ color: oklch(55.0% 0.233 305.4);
Tailwind
colors: {
  custom: {
    50: '#b978e6',
    500: '#9338da',
    950: '#000000',
  },
}
SCSS
$custom: #9338da;
$custom-light: #b978e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9338da",
  "rgb": {
    "r": 147,
    "g": 56,
    "b": 218
  },
  "hsl": {
    "h": 273.704,
    "s": 68.644,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54954,
    "c": 0.23251,
    "h": 305.4
  },
  "luminance": 0.14093
}

Semantic roles & 50–950 ramp

primary
#9338DA
secondary
#B3DA94
accent
#EB3C89
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #9338DA

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

Preview Lab → · Contrast checker → · Palette generator →

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