#9F58BC#9F58BC

#9F58BC is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.4% C 0.162 H 315.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9F58BC
RGBrgb(159, 88, 188)
HSLhsl(283, 43%, 54%)
HSVhsv(283, 53%, 74%)
CMYKcmyk(15.4%, 53.2%, 0%, 26.3%)
CIE-LABlab(49.47, 45.91, -41.02)
CIE-LCHlch(49.47, 61.57, 318.22°)
OKLaboklab(58.37% 0.1154 -0.1144)
OKLCHoklch(58.37% 0.162 315.2)
XYZxyz(26.8635, 17.9820, 49.6230)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F58BC #75BC58
analogous
#6D58BC #9F58BC #BC58A7
triadic
#9F58BC #BC9F58 #58BC9F
tetradic
#9F58BC #BC6D58 #75BC58 #58A7BC
square
#9F58BC #BC6D58 #75BC58 #58A7BC
split-complementary
#9F58BC #A7BC58 #58BC6D
monochromatic
#5B2C6E #7F3E99 #9F58BC #B884CE #D1AFDF

Accessibility & contrast

On white

4.57
#9F58BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#9F58BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F58BC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F58BC#FFFFFF#000000##000000
##9F58BC1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4171BF
Deuteranopia (green-blind)
#5878B9
Tritanopia (blue-blind)
#9D6882
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9f58bc;
/* rgb */ color: rgb(159, 88, 188);
/* oklch */ color: oklch(58.4% 0.162 315.2);
Tailwind
colors: {
  custom: {
    50: '#be8ad0',
    500: '#9f58bc',
    950: '#000000',
  },
}
SCSS
$custom: #9f58bc;
$custom-light: #be8ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f58bc",
  "rgb": {
    "r": 159,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 282.6,
    "s": 42.735,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58367,
    "c": 0.16245,
    "h": 315.2
  },
  "luminance": 0.17981
}

Semantic roles & 50–950 ramp

primary
#9F58BC
secondary
#AFCDA3
accent
#D3557A
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9F58BC

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

Preview Lab → · Contrast checker → · Palette generator →

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