#9B39E6#9B39E6

#9B39E6 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.9% C 0.245 H 305.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9B39E6
RGBrgb(155, 57, 230)
HSLhsl(274, 78%, 56%)
HSVhsv(274, 75%, 90%)
CMYKcmyk(32.6%, 75.2%, 0%, 9.8%)
CIE-LABlab(46.46, 68.40, -69.98)
CIE-LCHlch(46.46, 97.86, 314.35°)
OKLaboklab(56.93% 0.1421 -0.1992)
OKLCHoklch(56.93% 0.245 305.5)
XYZxyz(29.2604, 15.6082, 76.3188)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B39E6 #84E639
analogous
#4539E6 #9B39E6 #E639DB
triadic
#9B39E6 #E69B39 #39E69B
tetradic
#9B39E6 #E64539 #84E639 #39DBE6
square
#9B39E6 #E64539 #84E639 #39DBE6
split-complementary
#9B39E6 #DBE639 #39E645
monochromatic
#5B1292 #7D19C8 #9B39E6 #B66FED #D2A6F4

Accessibility & contrast

On white

5.10
#9B39E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9B39E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B39E6
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B39E6#FFFFFF#000000##FFFFFF
##9B39E61.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEB
Deuteranopia (green-blind)
#006EE3
Tritanopia (blue-blind)
#8D658E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9b39e6;
/* rgb */ color: rgb(155, 57, 230);
/* oklch */ color: oklch(56.9% 0.245 305.5);
Tailwind
colors: {
  custom: {
    50: '#bf79ef',
    500: '#9b39e6',
    950: '#000000',
  },
}
SCSS
$custom: #9b39e6;
$custom-light: #bf79ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9b39e6",
  "rgb": {
    "r": 155,
    "g": 57,
    "b": 230
  },
  "hsl": {
    "h": 273.988,
    "s": 77.578,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56929,
    "c": 0.24467,
    "h": 305.5
  },
  "luminance": 0.15608
}

Semantic roles & 50–950 ramp

primary
#9B39E6
secondary
#B9E19A
accent
#F43487
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A17
muted
#827C85

Preview Lab

Preview with #9B39E6

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

Preview Lab → · Contrast checker → · Palette generator →

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