#9F37D7#9F37D7

#9F37D7 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 56.1% C 0.234 H 310.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9F37D7
RGBrgb(159, 55, 215)
HSLhsl(279, 67%, 53%)
HSVhsv(279, 74%, 84%)
CMYKcmyk(26%, 74.4%, 0%, 15.7%)
CIE-LABlab(45.65, 66.68, -62.72)
CIE-LCHlch(45.65, 91.54, 316.75°)
OKLaboklab(56.13% 0.152 -0.1777)
OKLCHoklch(56.13% 0.234 310.5)
XYZxyz(27.9276, 15.0102, 65.7029)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F37D7 #6FD737
analogous
#4F37D7 #9F37D7 #D737BF
triadic
#9F37D7 #D79F37 #37D79F
tetradic
#9F37D7 #D74F37 #6FD737 #37BFD7
square
#9F37D7 #D74F37 #6FD737 #37BFD7
split-complementary
#9F37D7 #BFD737 #37D74F
monochromatic
#59197B #7D23AE #9F37D7 #B76AE1 #D09DEB

Accessibility & contrast

On white

5.25
#9F37D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9F37D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F37D7
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F37D7#FFFFFF#000000##FFFFFF
##9F37D71.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#106ED4
Tritanopia (blue-blind)
#975D85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9f37d7;
/* rgb */ color: rgb(159, 55, 215);
/* oklch */ color: oklch(56.1% 0.234 310.5);
Tailwind
colors: {
  custom: {
    50: '#c078e4',
    500: '#9f37d7',
    950: '#000000',
  },
}
SCSS
$custom: #9f37d7;
$custom-light: #c078e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f37d7",
  "rgb": {
    "r": 159,
    "g": 55,
    "b": 215
  },
  "hsl": {
    "h": 279,
    "s": 66.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56132,
    "c": 0.23383,
    "h": 310.5
  },
  "luminance": 0.1501
}

Semantic roles & 50–950 ramp

primary
#9F37D7
secondary
#ABD792
accent
#EA3E7A
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9F37D7

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

Preview Lab → · Contrast checker → · Palette generator →

#9F37D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva