#9A5DF3#9A5DF3

#9A5DF3 is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 62.0% C 0.215 H 298.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9A5DF3
RGBrgb(154, 93, 243)
HSLhsl(264, 86%, 66%)
HSVhsv(264, 62%, 95%)
CMYKcmyk(36.6%, 61.7%, 0%, 4.7%)
CIE-LABlab(53.13, 54.89, -66.46)
CIE-LCHlch(53.13, 86.20, 309.55°)
OKLaboklab(61.96% 0.1032 -0.189)
OKLCHoklch(61.96% 0.215 298.6)
XYZxyz(33.4144, 21.1694, 87.1023)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A5DF3 #B6F35D
analogous
#5D6BF3 #9A5DF3 #E55DF3
triadic
#9A5DF3 #F39A5D #5DF39A
tetradic
#9A5DF3 #F35D6B #B6F35D #5DF3E5
square
#9A5DF3 #F35D6B #B6F35D #5DF3E5
split-complementary
#9A5DF3 #F3E55D #6BF35D
monochromatic
#5A0FC7 #7624EF #9A5DF3 #BE96F7 #E1CFFB

Accessibility & contrast

On white

4.01
#9A5DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#9A5DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A5DF3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A5DF3#FFFFFF#000000##000000
##9A5DF31.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF8
Deuteranopia (green-blind)
#177DF0
Tritanopia (blue-blind)
#867EA0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9a5df3;
/* rgb */ color: rgb(154, 93, 243);
/* oklch */ color: oklch(62.0% 0.215 298.6);
Tailwind
colors: {
  custom: {
    50: '#bd8ef8',
    500: '#9a5df3',
    950: '#000000',
  },
}
SCSS
$custom: #9a5df3;
$custom-light: #bd8ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a5df3",
  "rgb": {
    "r": 154,
    "g": 93,
    "b": 243
  },
  "hsl": {
    "h": 264.4,
    "s": 86.207,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61962,
    "c": 0.2154,
    "h": 298.6
  },
  "luminance": 0.2117
}

Semantic roles & 50–950 ramp

primary
#9A5DF3
secondary
#DBEFBD
accent
#E30388
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9A5DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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