#9A58F3#9A58F3

#9A58F3 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.3% C 0.222 H 299.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9A58F3
RGBrgb(154, 88, 243)
HSLhsl(266, 87%, 65%)
HSVhsv(266, 64%, 95%)
CMYKcmyk(36.6%, 63.8%, 0%, 4.7%)
CIE-LABlab(52.20, 57.43, -67.98)
CIE-LCHlch(52.20, 88.99, 310.19°)
OKLaboklab(61.28% 0.1087 -0.1935)
OKLCHoklch(61.28% 0.222 299.3)
XYZxyz(32.9898, 20.3202, 86.9608)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A58F3 #B1F358
analogous
#5864F3 #9A58F3 #E758F3
triadic
#9A58F3 #F39A58 #58F39A
tetradic
#9A58F3 #F35864 #B1F358 #58F3E7
square
#9A58F3 #F35864 #B1F358 #58F3E7
split-complementary
#9A58F3 #F3E758 #64F358
monochromatic
#5B0EC3 #771FEF #9A58F3 #BD91F7 #DFCAFB

Accessibility & contrast

On white

4.15
#9A58F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#9A58F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A58F3
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A58F3#FFFFFF#000000##000000
##9A58F31.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#007BF0
Tritanopia (blue-blind)
#867B9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9a58f3;
/* rgb */ color: rgb(154, 88, 243);
/* oklch */ color: oklch(61.3% 0.222 299.3);
Tailwind
colors: {
  custom: {
    50: '#bd8bf8',
    500: '#9a58f3',
    950: '#000000',
  },
}
SCSS
$custom: #9a58f3;
$custom-light: #bd8bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a58f3",
  "rgb": {
    "r": 154,
    "g": 88,
    "b": 243
  },
  "hsl": {
    "h": 265.548,
    "s": 86.592,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61284,
    "c": 0.22193,
    "h": 299.3
  },
  "luminance": 0.20321
}

Semantic roles & 50–950 ramp

primary
#9A58F3
secondary
#D7EEB9
accent
#E30283
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9A58F3

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

Preview Lab → · Contrast checker → · Palette generator →

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