#9F58DF#9F58DF

#9F58DF is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.5% C 0.201 H 305.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9F58DF
RGBrgb(159, 88, 223)
HSLhsl(272, 68%, 61%)
HSVhsv(272, 61%, 87%)
CMYKcmyk(28.7%, 60.5%, 0%, 12.5%)
CIE-LABlab(51.47, 53.73, -57.88)
CIE-LCHlch(51.47, 78.98, 312.87°)
OKLaboklab(60.47% 0.1164 -0.1636)
OKLCHoklch(60.47% 0.201 305.4)
XYZxyz(31.1042, 19.6783, 71.9574)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F58DF #98DF58
analogous
#5B58DF #9F58DF #DF58DB
triadic
#9F58DF #DF9F58 #58DF9F
tetradic
#9F58DF #DF5B58 #98DF58 #58DBDF
square
#9F58DF #DF5B58 #98DF58 #58DBDF
split-complementary
#9F58DF #DBDF58 #58DF5B
monochromatic
#621E9E #8128D2 #9F58DF #BD8BE9 #DABFF3

Accessibility & contrast

On white

4.25
#9F58DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#9F58DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F58DF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F58DF#FFFFFF#000000##000000
##9F58DF1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E79E3
Deuteranopia (green-blind)
#3B7BDC
Tritanopia (blue-blind)
#947393
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9f58df;
/* rgb */ color: rgb(159, 88, 223);
/* oklch */ color: oklch(60.5% 0.201 305.4);
Tailwind
colors: {
  custom: {
    50: '#bf8bea',
    500: '#9f58df',
    950: '#000000',
  },
}
SCSS
$custom: #9f58df;
$custom-light: #bf8bea;
$custom-dark: #000000;
JSON
{
  "hex": "#9f58df",
  "rgb": {
    "r": 159,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 271.556,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60473,
    "c": 0.20081,
    "h": 305.4
  },
  "luminance": 0.19678
}

Semantic roles & 50–950 ramp

primary
#9F58DF
secondary
#C8E3B0
accent
#D0166E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9F58DF

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

Preview Lab → · Contrast checker → · Palette generator →

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