#9B37D7#9B37D7

#9B37D7 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.6% C 0.233 H 309.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9B37D7
RGBrgb(155, 55, 215)
HSLhsl(278, 67%, 53%)
HSVhsv(278, 74%, 84%)
CMYKcmyk(27.9%, 74.4%, 0%, 15.7%)
CIE-LABlab(45.09, 65.95, -63.64)
CIE-LCHlch(45.09, 91.65, 316.02°)
OKLaboklab(55.62% 0.1468 -0.1805)
OKLCHoklch(55.62% 0.233 309.1)
XYZxyz(27.1470, 14.6077, 65.6663)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B37D7 #73D737
analogous
#4B37D7 #9B37D7 #D737C3
triadic
#9B37D7 #D79B37 #37D79B
tetradic
#9B37D7 #D74B37 #73D737 #37C3D7
square
#9B37D7 #D74B37 #73D737 #37C3D7
split-complementary
#9B37D7 #C3D737 #37D74B
monochromatic
#56197B #7A23AE #9B37D7 #B46AE1 #CE9DEB

Accessibility & contrast

On white

5.36
#9B37D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9B37D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B37D7
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B37D7#FFFFFF#000000##FFFFFF
##9B37D71.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DB
Deuteranopia (green-blind)
#006CD4
Tritanopia (blue-blind)
#925D85
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9b37d7;
/* rgb */ color: rgb(155, 55, 215);
/* oklch */ color: oklch(55.6% 0.233 309.1);
Tailwind
colors: {
  custom: {
    50: '#be78e4',
    500: '#9b37d7',
    950: '#000000',
  },
}
SCSS
$custom: #9b37d7;
$custom-light: #be78e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b37d7",
  "rgb": {
    "r": 155,
    "g": 55,
    "b": 215
  },
  "hsl": {
    "h": 277.5,
    "s": 66.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55624,
    "c": 0.2327,
    "h": 309.1
  },
  "luminance": 0.14607
}

Semantic roles & 50–950 ramp

primary
#9B37D7
secondary
#ACD792
accent
#EA3E7E
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9B37D7

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

Preview Lab → · Contrast checker → · Palette generator →

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