#9338AF#9338AF

#9338AF is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.9% C 0.191 H 317.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9338AF
RGBrgb(147, 56, 175)
HSLhsl(286, 52%, 45%)
HSVhsv(286, 68%, 69%)
CMYKcmyk(16%, 68%, 0%, 31.4%)
CIE-LABlab(41.42, 55.66, -46.33)
CIE-LCHlch(41.42, 72.42, 320.23°)
OKLaboklab(51.93% 0.1405 -0.13)
OKLCHoklch(51.93% 0.191 317.2)
XYZxyz(21.1835, 12.1274, 41.7741)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9338AF #54AF38
analogous
#5738AF #9338AF #AF3890
triadic
#9338AF #AF9338 #38AF93
tetradic
#9338AF #AF5738 #54AF38 #3890AF
square
#9338AF #AF5738 #54AF38 #3890AF
split-complementary
#9338AF #90AF38 #38AF57
monochromatic
#451A52 #6C2981 #9338AF #B05ACA #C688D9

Accessibility & contrast

On white

6.13
#9338AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9338AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9338AF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9338AF#FFFFFF#000000##FFFFFF
##9338AF1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#3B64AC
Tritanopia (blue-blind)
#924F6F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9338af;
/* rgb */ color: rgb(147, 56, 175);
/* oklch */ color: oklch(51.9% 0.191 317.2);
Tailwind
colors: {
  custom: {
    50: '#b676c7',
    500: '#9338af',
    950: '#000000',
  },
}
SCSS
$custom: #9338af;
$custom-light: #b676c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9338af",
  "rgb": {
    "r": 147,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 285.882,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51925,
    "c": 0.19139,
    "h": 317.2
  },
  "luminance": 0.12127
}

Semantic roles & 50–950 ramp

primary
#9338AF
secondary
#90C380
accent
#DB4D6E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9338AF

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

Preview Lab → · Contrast checker → · Palette generator →

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