#9938C8#9938C8

#9938C8 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.4% C 0.217 H 312.2°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9938C8
RGBrgb(153, 56, 200)
HSLhsl(280, 57%, 50%)
HSVhsv(280, 72%, 78%)
CMYKcmyk(23.5%, 72%, 0%, 21.6%)
CIE-LABlab(43.90, 62.05, -56.93)
CIE-LCHlch(43.90, 84.21, 317.46°)
OKLaboklab(54.39% 0.1457 -0.1609)
OKLCHoklch(54.39% 0.217 312.2)
XYZxyz(24.9745, 13.7715, 55.9749)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9938C8 #67C838
analogous
#5138C8 #9938C8 #C838AF
triadic
#9938C8 #C89938 #38C899
tetradic
#9938C8 #C85138 #67C838 #38AFC8
square
#9938C8 #C85138 #67C838 #38AFC8
split-complementary
#9938C8 #AFC838 #38C851
monochromatic
#501D69 #752A99 #9938C8 #B268D5 #CA98E3

Accessibility & contrast

On white

5.59
#9938C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9938C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9938C8
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9938C8#FFFFFF#000000##FFFFFF
##9938C81.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#266AC5
Tritanopia (blue-blind)
#93587D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9938c8;
/* rgb */ color: rgb(153, 56, 200);
/* oklch */ color: oklch(54.4% 0.217 312.2);
Tailwind
colors: {
  custom: {
    50: '#bb77d9',
    500: '#9938c8',
    950: '#000000',
  },
}
SCSS
$custom: #9938c8;
$custom-light: #bb77d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9938c8",
  "rgb": {
    "r": 153,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 280.417,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54394,
    "c": 0.21705,
    "h": 312.2
  },
  "luminance": 0.13771
}

Semantic roles & 50–950 ramp

primary
#9938C8
secondary
#A3CE8E
accent
#E04879
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9938C8

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

Preview Lab → · Contrast checker → · Palette generator →

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