#9B58DF#9B58DF

#9B58DF is a mid, vivid violet. Relative luminance 0.193; OKLCH L 60.0% C 0.200 H 303.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#9B58DF
RGBrgb(155, 88, 223)
HSLhsl(270, 68%, 61%)
HSVhsv(270, 61%, 87%)
CMYKcmyk(30.5%, 60.5%, 0%, 12.5%)
CIE-LABlab(51.01, 52.82, -58.65)
CIE-LCHlch(51.01, 78.93, 312.01°)
OKLaboklab(60.03% 0.1112 -0.166)
OKLCHoklch(60.03% 0.2 303.8)
XYZxyz(30.3236, 19.2758, 71.9208)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B58DF #9CDF58
analogous
#5858DF #9B58DF #DE58DF
triadic
#9B58DF #DF9B58 #58DF9B
tetradic
#9B58DF #DF5858 #9CDF58 #58DFDE
square
#9B58DF #DF5858 #9CDF58 #58DFDE
split-complementary
#9B58DF #DFDE58 #58DF58
monochromatic
#5E1E9E #7C28D2 #9B58DF #BA8BE9 #D9BFF3

Accessibility & contrast

On white

4.33
#9B58DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#9B58DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B58DF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B58DF#FFFFFF#000000##000000
##9B58DF1.004.334.864.86
#FFFFFF4.331.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0578E3
Deuteranopia (green-blind)
#3579DC
Tritanopia (blue-blind)
#8E7493
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9b58df;
/* rgb */ color: rgb(155, 88, 223);
/* oklch */ color: oklch(60.0% 0.200 303.8);
Tailwind
colors: {
  custom: {
    50: '#bd8aea',
    500: '#9b58df',
    950: '#000000',
  },
}
SCSS
$custom: #9b58df;
$custom-light: #bd8aea;
$custom-dark: #000000;
JSON
{
  "hex": "#9b58df",
  "rgb": {
    "r": 155,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 269.778,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60034,
    "c": 0.19986,
    "h": 303.8
  },
  "luminance": 0.19276
}

Semantic roles & 50–950 ramp

primary
#9B58DF
secondary
#CAE3B0
accent
#D01673
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9B58DF

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

Preview Lab → · Contrast checker → · Palette generator →

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