#9B58FA#9B58FA

#9B58FA is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.9% C 0.230 H 298.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9B58FA
RGBrgb(155, 88, 250)
HSLhsl(265, 94%, 66%)
HSVhsv(265, 65%, 98%)
CMYKcmyk(38%, 64.8%, 0%, 2%)
CIE-LABlab(52.78, 59.35, -70.92)
CIE-LCHlch(52.78, 92.48, 309.92°)
OKLaboklab(61.88% 0.1093 -0.2021)
OKLCHoklch(61.88% 0.23 298.4)
XYZxyz(34.2583, 20.8497, 92.6434)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B58FA #B7FA58
analogous
#5866FA #9B58FA #EC58FA
triadic
#9B58FA #FA9B58 #58FA9B
tetradic
#9B58FA #FA5866 #B7FA58 #58FAEC
square
#9B58FA #FA5866 #B7FA58 #58FAEC
split-complementary
#9B58FA #FAEC58 #66FA58
monochromatic
#5A06D1 #771DF8 #9B58FA #BF93FC #E2CFFE

Accessibility & contrast

On white

4.06
#9B58FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#9B58FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B58FA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B58FA#FFFFFF#000000##000000
##9B58FA1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#007CF7
Tritanopia (blue-blind)
#857DA2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9b58fa;
/* rgb */ color: rgb(155, 88, 250);
/* oklch */ color: oklch(61.9% 0.230 298.4);
Tailwind
colors: {
  custom: {
    50: '#bf8bfd',
    500: '#9b58fa',
    950: '#000000',
  },
}
SCSS
$custom: #9b58fa;
$custom-light: #bf8bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b58fa",
  "rgb": {
    "r": 155,
    "g": 88,
    "b": 250
  },
  "hsl": {
    "h": 264.815,
    "s": 94.186,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61883,
    "c": 0.22978,
    "h": 298.4
  },
  "luminance": 0.2085
}

Semantic roles & 50–950 ramp

primary
#9B58FA
secondary
#DBF1BC
accent
#E60087
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #9B58FA

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

Preview Lab → · Contrast checker → · Palette generator →

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