#9938CF#9938CF

#9938CF is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.9% C 0.224 H 310.3°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#9938CF
RGBrgb(153, 56, 207)
HSLhsl(279, 61%, 52%)
HSVhsv(279, 73%, 81%)
CMYKcmyk(26.1%, 72.9%, 0%, 18.8%)
CIE-LABlab(44.38, 63.51, -60.20)
CIE-LCHlch(44.38, 87.51, 316.53°)
OKLaboklab(54.89% 0.1447 -0.1705)
OKLCHoklch(54.89% 0.224 310.3)
XYZxyz(25.8113, 14.1062, 60.3824)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9938CF #6ECF38
analogous
#4E38CF #9938CF #CF38BA
triadic
#9938CF #CF9938 #38CF99
tetradic
#9938CF #CF4E38 #6ECF38 #38BACF
square
#9938CF #CF4E38 #6ECF38 #38BACF
split-complementary
#9938CF #BACF38 #38CF4E
monochromatic
#531B71 #7627A3 #9938CF #B269DB #CC9BE7

Accessibility & contrast

On white

5.50
#9938CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#9938CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9938CF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9938CF#FFFFFF#000000##FFFFFF
##9938CF1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#176ACC
Tritanopia (blue-blind)
#925B81
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9938cf;
/* rgb */ color: rgb(153, 56, 207);
/* oklch */ color: oklch(54.9% 0.224 310.3);
Tailwind
colors: {
  custom: {
    50: '#bc78df',
    500: '#9938cf',
    950: '#000000',
  },
}
SCSS
$custom: #9938cf;
$custom-light: #bc78df;
$custom-dark: #000000;
JSON
{
  "hex": "#9938cf",
  "rgb": {
    "r": 153,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 278.543,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54888,
    "c": 0.22361,
    "h": 310.3
  },
  "luminance": 0.14106
}

Semantic roles & 50–950 ramp

primary
#9938CF
secondary
#A8D390
accent
#E4447D
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9938CF

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

Preview Lab → · Contrast checker → · Palette generator →

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