#9F58F8#9F58F8

#9F58F8 is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.2% C 0.228 H 300.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9F58F8
RGBrgb(159, 88, 248)
HSLhsl(267, 92%, 66%)
HSVhsv(267, 65%, 97%)
CMYKcmyk(35.9%, 64.5%, 0%, 2.7%)
CIE-LABlab(53.09, 59.65, -69.30)
CIE-LCHlch(53.09, 91.44, 310.72°)
OKLaboklab(62.16% 0.1147 -0.1972)
OKLCHoklch(62.16% 0.228 300.2)
XYZxyz(34.7269, 21.1274, 91.0372)
Luminance0.2113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F58F8 #B1F858
analogous
#5861F8 #9F58F8 #EF58F8
triadic
#9F58F8 #F89F58 #58F89F
tetradic
#9F58F8 #F85861 #B1F858 #58F8EF
square
#9F58F8 #F85861 #B1F858 #58F8EF
split-complementary
#9F58F8 #F8EF58 #61F858
monochromatic
#6009CD #7D1DF6 #9F58F8 #C193FA #E3CDFD

Accessibility & contrast

On white

4.02
#9F58F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#9F58F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F58F8
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F58F8#FFFFFF#000000##000000
##9F58F81.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFD
Deuteranopia (green-blind)
#007EF5
Tritanopia (blue-blind)
#8B7CA1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9f58f8;
/* rgb */ color: rgb(159, 88, 248);
/* oklch */ color: oklch(62.2% 0.228 300.2);
Tailwind
colors: {
  custom: {
    50: '#c18bfb',
    500: '#9f58f8',
    950: '#000000',
  },
}
SCSS
$custom: #9f58f8;
$custom-light: #c18bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f58f8",
  "rgb": {
    "r": 159,
    "g": 88,
    "b": 248
  },
  "hsl": {
    "h": 266.625,
    "s": 91.954,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62158,
    "c": 0.22816,
    "h": 300.2
  },
  "luminance": 0.21128
}

Semantic roles & 50–950 ramp

primary
#9F58F8
secondary
#D9F0BB
accent
#E60080
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #9F58F8

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

Preview Lab → · Contrast checker → · Palette generator →

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