#9A5DF6#9A5DF6

#9A5DF6 is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.2% C 0.219 H 298.1°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9A5DF6
RGBrgb(154, 93, 246)
HSLhsl(264, 89%, 66%)
HSVhsv(264, 62%, 96%)
CMYKcmyk(37.4%, 62.2%, 0%, 3.5%)
CIE-LABlab(53.33, 55.64, -67.82)
CIE-LCHlch(53.33, 87.72, 309.37°)
OKLaboklab(62.17% 0.103 -0.193)
OKLCHoklch(62.17% 0.219 298.1)
XYZxyz(33.8711, 21.3521, 89.5078)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A5DF6 #B9F65D
analogous
#5D6DF6 #9A5DF6 #E75DF6
triadic
#9A5DF6 #F69A5D #5DF69A
tetradic
#9A5DF6 #F65D6D #B9F65D #5DF6E7
square
#9A5DF6 #F65D6D #B9F65D #5DF6E7
split-complementary
#9A5DF6 #F6E75D #6DF65D
monochromatic
#590BCD #7623F3 #9A5DF6 #BE97F9 #E2D1FC

Accessibility & contrast

On white

3.98
#9A5DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#9A5DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A5DF6
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A5DF6#FFFFFF#000000##000000
##9A5DF61.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FB
Deuteranopia (green-blind)
#097EF3
Tritanopia (blue-blind)
#847FA1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9a5df6;
/* rgb */ color: rgb(154, 93, 246);
/* oklch */ color: oklch(62.2% 0.219 298.1);
Tailwind
colors: {
  custom: {
    50: '#bd8efa',
    500: '#9a5df6',
    950: '#000000',
  },
}
SCSS
$custom: #9a5df6;
$custom-light: #bd8efa;
$custom-dark: #000000;
JSON
{
  "hex": "#9a5df6",
  "rgb": {
    "r": 154,
    "g": 93,
    "b": 246
  },
  "hsl": {
    "h": 263.922,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62168,
    "c": 0.2188,
    "h": 298.1
  },
  "luminance": 0.21353
}

Semantic roles & 50–950 ramp

primary
#9A5DF6
secondary
#DCF0BF
accent
#E6008A
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9A5DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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