#9E58C8#9E58C8

#9E58C8 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.9% C 0.175 H 311.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9E58C8
RGBrgb(158, 88, 200)
HSLhsl(278, 50%, 56%)
HSVhsv(278, 56%, 78%)
CMYKcmyk(21%, 56%, 0%, 21.6%)
CIE-LABlab(50.00, 48.26, -47.12)
CIE-LCHlch(50.00, 67.45, 315.68°)
OKLaboklab(58.94% 0.1149 -0.1322)
OKLCHoklch(58.94% 0.175 311)
XYZxyz(28.0137, 18.4193, 56.7119)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E58C8 #82C858
analogous
#6658C8 #9E58C8 #C858BA
triadic
#9E58C8 #C89E58 #58C89E
tetradic
#9E58C8 #C86658 #82C858 #58BAC8
square
#9E58C8 #C86658 #82C858 #58BAC8
split-complementary
#9E58C8 #BAC858 #58C866
monochromatic
#5D297D #8038AB #9E58C8 #B986D7 #D3B4E6

Accessibility & contrast

On white

4.48
#9E58C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9E58C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E58C8
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E58C8#FFFFFF#000000##000000
##9E58C81.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3674CC
Deuteranopia (green-blind)
#4F78C5
Tritanopia (blue-blind)
#996C88
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9e58c8;
/* rgb */ color: rgb(158, 88, 200);
/* oklch */ color: oklch(58.9% 0.175 311.0);
Tailwind
colors: {
  custom: {
    50: '#bd8ad9',
    500: '#9e58c8',
    950: '#000000',
  },
}
SCSS
$custom: #9e58c8;
$custom-light: #bd8ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e58c8",
  "rgb": {
    "r": 158,
    "g": 88,
    "b": 200
  },
  "hsl": {
    "h": 277.5,
    "s": 50.45,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58938,
    "c": 0.17516,
    "h": 311
  },
  "luminance": 0.18419
}

Semantic roles & 50–950 ramp

primary
#9E58C8
secondary
#B8D5A7
accent
#DA4E82
background
#FBF8FD
surface
#F7F0FA
border
#D0CBD3
text
#120C15
muted
#817D83

Preview Lab

Preview with #9E58C8

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

Preview Lab → · Contrast checker → · Palette generator →

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