#9F37D9#9F37D9

#9F37D9 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 56.3% C 0.236 H 310.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9F37D9
RGBrgb(159, 55, 217)
HSLhsl(279, 68%, 53%)
HSVhsv(279, 75%, 85%)
CMYKcmyk(26.7%, 74.7%, 0%, 14.9%)
CIE-LABlab(45.79, 67.09, -63.63)
CIE-LCHlch(45.79, 92.47, 316.52°)
OKLaboklab(56.28% 0.1516 -0.1804)
OKLCHoklch(56.28% 0.236 310.1)
XYZxyz(28.1862, 15.1137, 67.0646)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F37D9 #71D937
analogous
#4E37D9 #9F37D9 #D937C2
triadic
#9F37D9 #D99F37 #37D99F
tetradic
#9F37D9 #D94E37 #71D937 #37C2D9
square
#9F37D9 #D94E37 #71D937 #37C2D9
split-complementary
#9F37D9 #C2D937 #37D94E
monochromatic
#59187E #7E22B1 #9F37D9 #B86AE3 #D09EED

Accessibility & contrast

On white

5.22
#9F37D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#9F37D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F37D9
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F37D9#FFFFFF#000000##FFFFFF
##9F37D91.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DE
Deuteranopia (green-blind)
#076ED6
Tritanopia (blue-blind)
#975E86
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9f37d9;
/* rgb */ color: rgb(159, 55, 217);
/* oklch */ color: oklch(56.3% 0.236 310.1);
Tailwind
colors: {
  custom: {
    50: '#c178e6',
    500: '#9f37d9',
    950: '#000000',
  },
}
SCSS
$custom: #9f37d9;
$custom-light: #c178e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f37d9",
  "rgb": {
    "r": 159,
    "g": 55,
    "b": 217
  },
  "hsl": {
    "h": 278.519,
    "s": 68.067,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56276,
    "c": 0.23566,
    "h": 310.1
  },
  "luminance": 0.15113
}

Semantic roles & 50–950 ramp

primary
#9F37D9
secondary
#ACD993
accent
#EB3D7B
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9F37D9

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

Preview Lab → · Contrast checker → · Palette generator →

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