#9937DF#9937DF

#9937DF is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 56.0% C 0.240 H 306.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9937DF
RGBrgb(153, 55, 223)
HSLhsl(275, 72%, 55%)
HSVhsv(275, 75%, 87%)
CMYKcmyk(31.4%, 75.3%, 0%, 12.5%)
CIE-LABlab(45.40, 67.30, -67.72)
CIE-LCHlch(45.40, 95.48, 314.82°)
OKLaboklab(55.97% 0.1426 -0.1926)
OKLCHoklch(55.97% 0.24 306.5)
XYZxyz(27.8194, 14.8327, 71.1952)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9937DF #7DDF37
analogous
#4537DF #9937DF #DF37D1
triadic
#9937DF #DF9937 #37DF99
tetradic
#9937DF #DF4537 #7DDF37 #37D1DF
square
#9937DF #DF4537 #7DDF37 #37D1DF
split-complementary
#9937DF #D1DF37 #37DF45
monochromatic
#571586 #791EBB #9937DF #B46CE7 #CFA1F0

Accessibility & contrast

On white

5.29
#9937DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9937DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9937DF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9937DF#FFFFFF#000000##FFFFFF
##9937DF1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E4
Deuteranopia (green-blind)
#006CDC
Tritanopia (blue-blind)
#8D618A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9937df;
/* rgb */ color: rgb(153, 55, 223);
/* oklch */ color: oklch(56.0% 0.240 306.5);
Tailwind
colors: {
  custom: {
    50: '#bd78ea',
    500: '#9937df',
    950: '#000000',
  },
}
SCSS
$custom: #9937df;
$custom-light: #bd78ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9937df",
  "rgb": {
    "r": 153,
    "g": 55,
    "b": 223
  },
  "hsl": {
    "h": 275,
    "s": 72.414,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5597,
    "c": 0.23965,
    "h": 306.5
  },
  "luminance": 0.14832
}

Semantic roles & 50–950 ramp

primary
#9937DF
secondary
#B3DC95
accent
#EF3985
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9937DF

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

Preview Lab → · Contrast checker → · Palette generator →

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