#9B37CF#9B37CF

#9B37CF is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 55.0% C 0.225 H 311.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9B37CF
RGBrgb(155, 55, 207)
HSLhsl(279, 61%, 51%)
HSVhsv(279, 73%, 81%)
CMYKcmyk(25.1%, 73.4%, 0%, 18.8%)
CIE-LABlab(44.53, 64.28, -59.96)
CIE-LCHlch(44.53, 87.90, 316.99°)
OKLaboklab(55.05% 0.1482 -0.1697)
OKLCHoklch(55.05% 0.225 311.1)
XYZxyz(26.1441, 14.2066, 60.3843)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B37CF #6BCF37
analogous
#4F37CF #9B37CF #CF37B7
triadic
#9B37CF #CF9B37 #37CF9B
tetradic
#9B37CF #CF4F37 #6BCF37 #37B7CF
square
#9B37CF #CF4F37 #6BCF37 #37B7CF
split-complementary
#9B37CF #B7CF37 #37CF4F
monochromatic
#531B71 #7827A2 #9B37CF #B468DB #CC9AE7

Accessibility & contrast

On white

5.47
#9B37CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#9B37CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B37CF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B37CF#FFFFFF#000000##FFFFFF
##9B37CF1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#1B6BCC
Tritanopia (blue-blind)
#945A80
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9b37cf;
/* rgb */ color: rgb(155, 55, 207);
/* oklch */ color: oklch(55.0% 0.225 311.1);
Tailwind
colors: {
  custom: {
    50: '#bd77df',
    500: '#9b37cf',
    950: '#000000',
  },
}
SCSS
$custom: #9b37cf;
$custom-light: #bd77df;
$custom-dark: #000000;
JSON
{
  "hex": "#9b37cf",
  "rgb": {
    "r": 155,
    "g": 55,
    "b": 207
  },
  "hsl": {
    "h": 279.474,
    "s": 61.29,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55047,
    "c": 0.22531,
    "h": 311.1
  },
  "luminance": 0.14206
}

Semantic roles & 50–950 ramp

primary
#9B37CF
secondary
#A6D28F
accent
#E4437A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9B37CF

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

Preview Lab → · Contrast checker → · Palette generator →

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