#9938BF#9938BF

#9938BF is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.8% C 0.209 H 314.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9938BF
RGBrgb(153, 56, 191)
HSLhsl(283, 55%, 48%)
HSVhsv(283, 71%, 75%)
CMYKcmyk(19.9%, 70.7%, 0%, 25.1%)
CIE-LABlab(43.31, 60.20, -52.66)
CIE-LCHlch(43.31, 79.98, 318.82°)
OKLaboklab(53.78% 0.1467 -0.1484)
OKLCHoklch(53.78% 0.209 314.7)
XYZxyz(23.9535, 13.3631, 50.5977)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9938BF #5EBF38
analogous
#5538BF #9938BF #BF38A1
triadic
#9938BF #BF9938 #38BF99
tetradic
#9938BF #BF5538 #5EBF38 #38A1BF
square
#9938BF #BF5538 #5EBF38 #38A1BF
split-complementary
#9938BF #A1BF38 #38BF55
monochromatic
#4D1C60 #732A90 #9938BF #B263D1 #C992DF

Accessibility & contrast

On white

5.72
#9938BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9938BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9938BF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9938BF#FFFFFF#000000##FFFFFF
##9938BF1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#3269BC
Tritanopia (blue-blind)
#965478
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9938bf;
/* rgb */ color: rgb(153, 56, 191);
/* oklch */ color: oklch(53.8% 0.209 314.7);
Tailwind
colors: {
  custom: {
    50: '#bb77d3',
    500: '#9938bf',
    950: '#000000',
  },
}
SCSS
$custom: #9938bf;
$custom-light: #bb77d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9938bf",
  "rgb": {
    "r": 153,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 283.111,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53778,
    "c": 0.20866,
    "h": 314.7
  },
  "luminance": 0.13362
}

Semantic roles & 50–950 ramp

primary
#9938BF
secondary
#9BCA89
accent
#DE4A74
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9938BF

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

Preview Lab → · Contrast checker → · Palette generator →

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