#9D58EB#9D58EB

#9D58EB is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.0% C 0.214 H 302.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9D58EB
RGBrgb(157, 88, 235)
HSLhsl(268, 79%, 63%)
HSVhsv(268, 63%, 92%)
CMYKcmyk(33.2%, 62.6%, 0%, 7.8%)
CIE-LABlab(52.00, 56.12, -63.80)
CIE-LCHlch(52.00, 84.97, 311.34°)
OKLaboklab(61.05% 0.1132 -0.1811)
OKLCHoklch(61.05% 0.214 302)
XYZxyz(32.3862, 20.1456, 80.7634)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D58EB #A6EB58
analogous
#585CEB #9D58EB #E658EB
triadic
#9D58EB #EB9D58 #58EB9D
tetradic
#9D58EB #EB585C #A6EB58 #58EBE6
square
#9D58EB #EB585C #A6EB58 #58EBE6
split-complementary
#9D58EB #EBE658 #5CEB58
monochromatic
#5F15B3 #7D21E4 #9D58EB #BD8FF2 #DDC5F8

Accessibility & contrast

On white

4.18
#9D58EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#9D58EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D58EB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D58EB#FFFFFF#000000##000000
##9D58EB1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#257BE8
Tritanopia (blue-blind)
#8D789A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9d58eb;
/* rgb */ color: rgb(157, 88, 235);
/* oklch */ color: oklch(61.0% 0.214 302.0);
Tailwind
colors: {
  custom: {
    50: '#bf8bf2',
    500: '#9d58eb',
    950: '#000000',
  },
}
SCSS
$custom: #9d58eb;
$custom-light: #bf8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d58eb",
  "rgb": {
    "r": 157,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 268.163,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61049,
    "c": 0.21359,
    "h": 302
  },
  "luminance": 0.20146
}

Semantic roles & 50–950 ramp

primary
#9D58EB
secondary
#D1EAB5
accent
#DB0B79
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9D58EB

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

Preview Lab → · Contrast checker → · Palette generator →

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