#9938BE#9938BE

#9938BE is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.7% C 0.208 H 315.0°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#9938BE
RGBrgb(153, 56, 190)
HSLhsl(283, 54%, 48%)
HSVhsv(283, 71%, 75%)
CMYKcmyk(19.5%, 70.5%, 0%, 25.5%)
CIE-LABlab(43.24, 60.00, -52.18)
CIE-LCHlch(43.24, 79.51, 318.98°)
OKLaboklab(53.71% 0.1468 -0.147)
OKLCHoklch(53.71% 0.208 315)
XYZxyz(23.8438, 13.3192, 50.0201)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9938BE #5DBE38
analogous
#5638BE #9938BE #BE38A0
triadic
#9938BE #BE9938 #38BE99
tetradic
#9938BE #BE5638 #5DBE38 #38A0BE
square
#9938BE #BE5638 #5DBE38 #38A0BE
split-complementary
#9938BE #A0BE38 #38BE56
monochromatic
#4D1C5F #732A8F #9938BE #B262D1 #C992DF

Accessibility & contrast

On white

5.73
#9938BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9938BE
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9938BE#FFFFFF#000000##FFFFFF
##9938BE1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#3369BB
Tritanopia (blue-blind)
#965477
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9938be;
/* rgb */ color: rgb(153, 56, 190);
/* oklch */ color: oklch(53.7% 0.208 315.0);
Tailwind
colors: {
  custom: {
    50: '#bb77d2',
    500: '#9938be',
    950: '#000000',
  },
}
SCSS
$custom: #9938be;
$custom-light: #bb77d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9938be",
  "rgb": {
    "r": 153,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 283.433,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53711,
    "c": 0.20774,
    "h": 315
  },
  "luminance": 0.13318
}

Semantic roles & 50–950 ramp

primary
#9938BE
secondary
#9ACA88
accent
#DE4A73
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9938BE

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

Preview Lab → · Contrast checker → · Palette generator →

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