#9938C9#9938C9

#9938C9 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.5% C 0.218 H 311.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9938C9
RGBrgb(153, 56, 201)
HSLhsl(280, 57%, 50%)
HSVhsv(280, 72%, 79%)
CMYKcmyk(23.9%, 72.1%, 0%, 21.2%)
CIE-LABlab(43.97, 62.25, -57.40)
CIE-LCHlch(43.97, 84.68, 317.32°)
OKLaboklab(54.46% 0.1455 -0.1623)
OKLCHoklch(54.46% 0.218 311.9)
XYZxyz(25.0917, 13.8184, 56.5924)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9938C9 #68C938
analogous
#5038C9 #9938C9 #C938B0
triadic
#9938C9 #C99938 #38C999
tetradic
#9938C9 #C95038 #68C938 #38B0C9
square
#9938C9 #C95038 #68C938 #38B0C9
split-complementary
#9938C9 #B0C938 #38C950
monochromatic
#501D6A #752A9A #9938C9 #B268D6 #CA98E3

Accessibility & contrast

On white

5.58
#9938C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9938C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9938C9
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9938C9#FFFFFF#000000##FFFFFF
##9938C91.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CD
Deuteranopia (green-blind)
#246AC6
Tritanopia (blue-blind)
#93587D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9938c9;
/* rgb */ color: rgb(153, 56, 201);
/* oklch */ color: oklch(54.5% 0.218 311.9);
Tailwind
colors: {
  custom: {
    50: '#bc77da',
    500: '#9938c9',
    950: '#000000',
  },
}
SCSS
$custom: #9938c9;
$custom-light: #bc77da;
$custom-dark: #000000;
JSON
{
  "hex": "#9938c9",
  "rgb": {
    "r": 153,
    "g": 56,
    "b": 201
  },
  "hsl": {
    "h": 280.138,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54464,
    "c": 0.21799,
    "h": 311.9
  },
  "luminance": 0.13818
}

Semantic roles & 50–950 ramp

primary
#9938C9
secondary
#A3CF8E
accent
#E1477A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9938C9

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

Preview Lab → · Contrast checker → · Palette generator →

#9938C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva