#9F37E0#9F37E0

#9F37E0 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.8% C 0.242 H 308.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9F37E0
RGBrgb(159, 55, 224)
HSLhsl(277, 73%, 55%)
HSVhsv(277, 75%, 88%)
CMYKcmyk(29%, 75.4%, 0%, 12.2%)
CIE-LABlab(46.29, 68.55, -66.81)
CIE-LCHlch(46.29, 95.73, 315.74°)
OKLaboklab(56.79% 0.1503 -0.1897)
OKLCHoklch(56.79% 0.242 308.4)
XYZxyz(29.1160, 15.4856, 71.9617)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F37E0 #78E037
analogous
#4B37E0 #9F37E0 #E037CD
triadic
#9F37E0 #E09F37 #37E09F
tetradic
#9F37E0 #E04B37 #78E037 #37CDE0
square
#9F37E0 #E04B37 #78E037 #37CDE0
split-complementary
#9F37E0 #CDE037 #37E04B
monochromatic
#5C1588 #7F1DBD #9F37E0 #B86CE8 #D2A1F0

Accessibility & contrast

On white

5.13
#9F37E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9F37E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F37E0
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F37E0#FFFFFF#000000##FFFFFF
##9F37E01.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE5
Deuteranopia (green-blind)
#006FDD
Tritanopia (blue-blind)
#95618A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9f37e0;
/* rgb */ color: rgb(159, 55, 224);
/* oklch */ color: oklch(56.8% 0.242 308.4);
Tailwind
colors: {
  custom: {
    50: '#c179eb',
    500: '#9f37e0',
    950: '#000000',
  },
}
SCSS
$custom: #9f37e0;
$custom-light: #c179eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f37e0",
  "rgb": {
    "r": 159,
    "g": 55,
    "b": 224
  },
  "hsl": {
    "h": 276.923,
    "s": 73.16,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56788,
    "c": 0.24206,
    "h": 308.4
  },
  "luminance": 0.15485
}

Semantic roles & 50–950 ramp

primary
#9F37E0
secondary
#B1DD96
accent
#F0387F
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9F37E0

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

Preview Lab → · Contrast checker → · Palette generator →

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