#9B58CD#9B58CD

#9B58CD is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.9% C 0.180 H 308.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9B58CD
RGBrgb(155, 88, 205)
HSLhsl(274, 54%, 57%)
HSVhsv(274, 57%, 80%)
CMYKcmyk(24.4%, 57.1%, 0%, 19.6%)
CIE-LABlab(49.93, 48.63, -50.13)
CIE-LCHlch(49.93, 69.84, 314.13°)
OKLaboklab(58.9% 0.1113 -0.1411)
OKLCHoklch(58.9% 0.18 308.3)
XYZxyz(28.0245, 18.3562, 59.8125)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B58CD #8ACD58
analogous
#6158CD #9B58CD #CD58C4
triadic
#9B58CD #CD9B58 #58CD9B
tetradic
#9B58CD #CD6158 #8ACD58 #58C4CD
square
#9B58CD #CD6158 #8ACD58 #58C4CD
split-complementary
#9B58CD #C4CD58 #58CD61
monochromatic
#5C2783 #7D35B2 #9B58CD #B787DB #D3B6E9

Accessibility & contrast

On white

4.50
#9B58CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#9B58CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B58CD
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B58CD#FFFFFF#000000##000000
##9B58CD1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E74D1
Deuteranopia (green-blind)
#4878CA
Tritanopia (blue-blind)
#946E8A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9b58cd;
/* rgb */ color: rgb(155, 88, 205);
/* oklch */ color: oklch(58.9% 0.180 308.3);
Tailwind
colors: {
  custom: {
    50: '#bc8add',
    500: '#9b58cd',
    950: '#000000',
  },
}
SCSS
$custom: #9b58cd;
$custom-light: #bc8add;
$custom-dark: #000000;
JSON
{
  "hex": "#9b58cd",
  "rgb": {
    "r": 155,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 274.359,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58896,
    "c": 0.17971,
    "h": 308.3
  },
  "luminance": 0.18356
}

Semantic roles & 50–950 ramp

primary
#9B58CD
secondary
#BDD8A9
accent
#DD4B89
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9B58CD

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

Preview Lab → · Contrast checker → · Palette generator →

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