#9B58CF#9B58CF

#9B58CF is a mid, vivid violet. Relative luminance 0.185; OKLCH L 59.0% C 0.182 H 307.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9B58CF
RGBrgb(155, 88, 207)
HSLhsl(274, 55%, 58%)
HSVhsv(274, 57%, 81%)
CMYKcmyk(25.1%, 57.5%, 0%, 18.8%)
CIE-LABlab(50.04, 49.09, -51.09)
CIE-LCHlch(50.04, 70.85, 313.85°)
OKLaboklab(59.02% 0.1114 -0.1439)
OKLCHoklch(59.02% 0.182 307.7)
XYZxyz(28.2675, 18.4534, 61.0921)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B58CF #8CCF58
analogous
#6058CF #9B58CF #CF58C7
triadic
#9B58CF #CF9B58 #58CF9B
tetradic
#9B58CF #CF6058 #8CCF58 #58C7CF
square
#9B58CF #CF6058 #8CCF58 #58C7CF
split-complementary
#9B58CF #C7CF58 #58CF60
monochromatic
#5C2786 #7D34B6 #9B58CF #B788DD #D4B7EA

Accessibility & contrast

On white

4.48
#9B58CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#9B58CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B58CF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B58CF#FFFFFF#000000##000000
##9B58CF1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C74D3
Deuteranopia (green-blind)
#4778CC
Tritanopia (blue-blind)
#936E8B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9b58cf;
/* rgb */ color: rgb(155, 88, 207);
/* oklch */ color: oklch(59.0% 0.182 307.7);
Tailwind
colors: {
  custom: {
    50: '#bc8ade',
    500: '#9b58cf',
    950: '#000000',
  },
}
SCSS
$custom: #9b58cf;
$custom-light: #bc8ade;
$custom-dark: #000000;
JSON
{
  "hex": "#9b58cf",
  "rgb": {
    "r": 155,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 273.782,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59018,
    "c": 0.18195,
    "h": 307.7
  },
  "luminance": 0.18453
}

Semantic roles & 50–950 ramp

primary
#9B58CF
secondary
#BED9AA
accent
#DF498A
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9B58CF

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

Preview Lab → · Contrast checker → · Palette generator →

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