#9A58DF#9A58DF

#9A58DF is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.9% C 0.200 H 303.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9A58DF
RGBrgb(154, 88, 223)
HSLhsl(269, 68%, 61%)
HSVhsv(269, 61%, 87%)
CMYKcmyk(30.9%, 60.5%, 0%, 12.5%)
CIE-LABlab(50.89, 52.60, -58.84)
CIE-LCHlch(50.89, 78.92, 311.79°)
OKLaboklab(59.93% 0.11 -0.1666)
OKLCHoklch(59.93% 0.2 303.4)
XYZxyz(30.1324, 19.1772, 71.9119)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A58DF #9DDF58
analogous
#5859DF #9A58DF #DD58DF
triadic
#9A58DF #DF9A58 #58DF9A
tetradic
#9A58DF #DF5859 #9DDF58 #58DFDD
square
#9A58DF #DF5859 #9DDF58 #58DFDD
split-complementary
#9A58DF #DFDD58 #59DF58
monochromatic
#5D1E9E #7B28D2 #9A58DF #B98BE9 #D8BFF3

Accessibility & contrast

On white

4.34
#9A58DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#9A58DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A58DF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A58DF#FFFFFF#000000##000000
##9A58DF1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0278E3
Deuteranopia (green-blind)
#3479DC
Tritanopia (blue-blind)
#8D7493
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9a58df;
/* rgb */ color: rgb(154, 88, 223);
/* oklch */ color: oklch(59.9% 0.200 303.4);
Tailwind
colors: {
  custom: {
    50: '#bc8aea',
    500: '#9a58df',
    950: '#000000',
  },
}
SCSS
$custom: #9a58df;
$custom-light: #bc8aea;
$custom-dark: #000000;
JSON
{
  "hex": "#9a58df",
  "rgb": {
    "r": 154,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 269.333,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59925,
    "c": 0.19963,
    "h": 303.4
  },
  "luminance": 0.19177
}

Semantic roles & 50–950 ramp

primary
#9A58DF
secondary
#CAE3B0
accent
#D01675
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9A58DF

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

Preview Lab → · Contrast checker → · Palette generator →

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