#9938BD#9938BD

#9938BD is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.6% C 0.207 H 315.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9938BD
RGBrgb(153, 56, 189)
HSLhsl(284, 54%, 48%)
HSVhsv(284, 70%, 74%)
CMYKcmyk(19%, 70.4%, 0%, 25.9%)
CIE-LABlab(43.18, 59.79, -51.70)
CIE-LCHlch(43.18, 79.05, 319.15°)
OKLaboklab(53.65% 0.1469 -0.1456)
OKLCHoklch(53.65% 0.207 315.3)
XYZxyz(23.7349, 13.2756, 49.4464)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9938BD #5CBD38
analogous
#5638BD #9938BD #BD389F
triadic
#9938BD #BD9938 #38BD99
tetradic
#9938BD #BD5638 #5CBD38 #389FBD
square
#9938BD #BD5638 #5CBD38 #389FBD
split-complementary
#9938BD #9FBD38 #38BD56
monochromatic
#4D1C5F #732A8E #9938BD #B262D0 #C991DE

Accessibility & contrast

On white

5.75
#9938BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9938BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9938BD
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9938BD#FFFFFF#000000##FFFFFF
##9938BD1.005.753.665.75
#FFFFFF5.751.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#3569BA
Tritanopia (blue-blind)
#965377
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9938bd;
/* rgb */ color: rgb(153, 56, 189);
/* oklch */ color: oklch(53.6% 0.207 315.3);
Tailwind
colors: {
  custom: {
    50: '#bb77d2',
    500: '#9938bd',
    950: '#000000',
  },
}
SCSS
$custom: #9938bd;
$custom-light: #bb77d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9938bd",
  "rgb": {
    "r": 153,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 283.759,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53645,
    "c": 0.20681,
    "h": 315.3
  },
  "luminance": 0.13275
}

Semantic roles & 50–950 ramp

primary
#9938BD
secondary
#99C987
accent
#DE4A72
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9938BD

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

Preview Lab → · Contrast checker → · Palette generator →

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