#9937D7#9937D7

#9937D7 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.4% C 0.232 H 308.4°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#9937D7
RGBrgb(153, 55, 215)
HSLhsl(277, 67%, 53%)
HSVhsv(277, 74%, 84%)
CMYKcmyk(28.8%, 74.4%, 0%, 15.7%)
CIE-LABlab(44.82, 65.59, -64.10)
CIE-LCHlch(44.82, 91.71, 315.66°)
OKLaboklab(55.37% 0.1442 -0.182)
OKLCHoklch(55.37% 0.232 308.4)
XYZxyz(26.7663, 14.4114, 65.6484)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9937D7 #75D737
analogous
#4937D7 #9937D7 #D737C5
triadic
#9937D7 #D79937 #37D799
tetradic
#9937D7 #D74937 #75D737 #37C5D7
square
#9937D7 #D74937 #75D737 #37C5D7
split-complementary
#9937D7 #C5D737 #37D749
monochromatic
#55197B #7823AE #9937D7 #B36AE1 #CD9DEB

Accessibility & contrast

On white

5.41
#9937D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#9937D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9937D7
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9937D7#FFFFFF#000000##FFFFFF
##9937D71.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DB
Deuteranopia (green-blind)
#006BD4
Tritanopia (blue-blind)
#8F5E85
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9937d7;
/* rgb */ color: rgb(153, 55, 215);
/* oklch */ color: oklch(55.4% 0.232 308.4);
Tailwind
colors: {
  custom: {
    50: '#bc78e4',
    500: '#9937d7',
    950: '#000000',
  },
}
SCSS
$custom: #9937d7;
$custom-light: #bc78e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9937d7",
  "rgb": {
    "r": 153,
    "g": 55,
    "b": 215
  },
  "hsl": {
    "h": 276.75,
    "s": 66.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55373,
    "c": 0.23217,
    "h": 308.4
  },
  "luminance": 0.14411
}

Semantic roles & 50–950 ramp

primary
#9937D7
secondary
#ADD792
accent
#EA3E81
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9937D7

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

Preview Lab → · Contrast checker → · Palette generator →

#9937D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva