#9A58EF#9A58EF

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

Color values

HEX#9A58EF
RGBrgb(154, 88, 239)
HSLhsl(266, 83%, 64%)
HSVhsv(266, 63%, 94%)
CMYKcmyk(35.6%, 63.2%, 0%, 6.3%)
CIE-LABlab(51.93, 56.45, -66.18)
CIE-LCHlch(51.93, 86.98, 310.47°)
OKLaboklab(61.01% 0.109 -0.1882)
OKLCHoklch(61.01% 0.217 300.1)
XYZxyz(32.3923, 20.0812, 83.8141)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A58EF #ADEF58
analogous
#5862EF #9A58EF #E658EF
triadic
#9A58EF #EF9A58 #58EF9A
tetradic
#9A58EF #EF5862 #ADEF58 #58EFE6
square
#9A58EF #EF5862 #ADEF58 #58EFE6
split-complementary
#9A58EF #EFE658 #62EF58
monochromatic
#5C12BB #7820EA #9A58EF #BC90F4 #DEC8FA

Accessibility & contrast

On white

4.19
#9A58EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#9A58EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A58EF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A58EF#FFFFFF#000000##000000
##9A58EF1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#127BEC
Tritanopia (blue-blind)
#87799C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9a58ef;
/* rgb */ color: rgb(154, 88, 239);
/* oklch */ color: oklch(61.0% 0.217 300.1);
Tailwind
colors: {
  custom: {
    50: '#bd8bf5',
    500: '#9a58ef',
    950: '#000000',
  },
}
SCSS
$custom: #9a58ef;
$custom-light: #bd8bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a58ef",
  "rgb": {
    "r": 154,
    "g": 88,
    "b": 239
  },
  "hsl": {
    "h": 266.225,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61005,
    "c": 0.21749,
    "h": 300.1
  },
  "luminance": 0.20081
}

Semantic roles & 50–950 ramp

primary
#9A58EF
secondary
#D5ECB7
accent
#DF0780
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9A58EF

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

Preview Lab → · Contrast checker → · Palette generator →

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