#9B58D7#9B58D7

#9B58D7 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.5% C 0.191 H 305.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9B58D7
RGBrgb(155, 88, 215)
HSLhsl(272, 61%, 59%)
HSVhsv(272, 59%, 84%)
CMYKcmyk(27.9%, 59.1%, 0%, 15.7%)
CIE-LABlab(50.52, 50.94, -54.90)
CIE-LCHlch(50.52, 74.89, 312.86°)
OKLaboklab(59.52% 0.1114 -0.155)
OKLCHoklch(59.52% 0.191 305.7)
XYZxyz(29.2704, 18.8545, 66.3741)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B58D7 #94D758
analogous
#5C58D7 #9B58D7 #D758D3
triadic
#9B58D7 #D79B58 #58D79B
tetradic
#9B58D7 #D75C58 #94D758 #58D3D7
square
#9B58D7 #D75C58 #94D758 #58D3D7
split-complementary
#9B58D7 #D3D758 #58D75C
monochromatic
#5D2392 #7D2FC3 #9B58D7 #B989E3 #D6BBEF

Accessibility & contrast

On white

4.40
#9B58D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#9B58D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B58D7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B58D7#FFFFFF#000000##000000
##9B58D71.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F76DB
Deuteranopia (green-blind)
#3F79D4
Tritanopia (blue-blind)
#91718F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9b58d7;
/* rgb */ color: rgb(155, 88, 215);
/* oklch */ color: oklch(59.5% 0.191 305.7);
Tailwind
colors: {
  custom: {
    50: '#bc8ae4',
    500: '#9b58d7',
    950: '#000000',
  },
}
SCSS
$custom: #9b58d7;
$custom-light: #bc8ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b58d7",
  "rgb": {
    "r": 155,
    "g": 88,
    "b": 215
  },
  "hsl": {
    "h": 271.654,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59518,
    "c": 0.19091,
    "h": 305.7
  },
  "luminance": 0.18854
}

Semantic roles & 50–950 ramp

primary
#9B58D7
secondary
#C4DEAD
accent
#E4438F
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9B58D7

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

Preview Lab → · Contrast checker → · Palette generator →

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