#9B37DE#9B37DE

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

Color values

HEX#9B37DE
RGBrgb(155, 55, 222)
HSLhsl(276, 72%, 54%)
HSVhsv(276, 75%, 87%)
CMYKcmyk(30.2%, 75.2%, 0%, 12.9%)
CIE-LABlab(45.60, 67.43, -66.82)
CIE-LCHlch(45.60, 94.93, 315.26°)
OKLaboklab(56.14% 0.1455 -0.1899)
OKLCHoklch(56.14% 0.239 307.5)
XYZxyz(28.0658, 14.9752, 70.5051)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B37DE #7ADE37
analogous
#4837DE #9B37DE #DE37CE
triadic
#9B37DE #DE9B37 #37DE9B
tetradic
#9B37DE #DE4837 #7ADE37 #37CEDE
square
#9B37DE #DE4837 #7ADE37 #37CEDE
split-complementary
#9B37DE #CEDE37 #37DE48
monochromatic
#581685 #7B1FB9 #9B37DE #B56CE7 #D0A0EF

Accessibility & contrast

On white

5.26
#9B37DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9B37DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B37DE
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B37DE#FFFFFF#000000##FFFFFF
##9B37DE1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E3
Deuteranopia (green-blind)
#006DDB
Tritanopia (blue-blind)
#906089
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9b37de;
/* rgb */ color: rgb(155, 55, 222);
/* oklch */ color: oklch(56.1% 0.239 307.5);
Tailwind
colors: {
  custom: {
    50: '#be78e9',
    500: '#9b37de',
    950: '#000000',
  },
}
SCSS
$custom: #9b37de;
$custom-light: #be78e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b37de",
  "rgb": {
    "r": 155,
    "g": 55,
    "b": 222
  },
  "hsl": {
    "h": 275.928,
    "s": 71.674,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56141,
    "c": 0.2392,
    "h": 307.5
  },
  "luminance": 0.14975
}

Semantic roles & 50–950 ramp

primary
#9B37DE
secondary
#B1DC95
accent
#EE3982
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9B37DE

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

Preview Lab → · Contrast checker → · Palette generator →

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