#9A5FF4#9A5FF4

#9A5FF4 is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.3% C 0.214 H 298.2°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9A5FF4
RGBrgb(154, 95, 244)
HSLhsl(264, 87%, 66%)
HSVhsv(264, 61%, 96%)
CMYKcmyk(36.9%, 61.1%, 0%, 4.3%)
CIE-LABlab(53.58, 54.11, -66.29)
CIE-LCHlch(53.58, 85.57, 309.22°)
OKLaboklab(62.31% 0.101 -0.1885)
OKLCHoklch(62.31% 0.214 298.2)
XYZxyz(33.7437, 21.5856, 87.9591)
Luminance0.2159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A5FF4 #B9F45F
analogous
#5F6FF4 #9A5FF4 #E45FF4
triadic
#9A5FF4 #F49A5F #5FF49A
tetradic
#9A5FF4 #F45F6F #B9F45F #5FF4E4
square
#9A5FF4 #F45F6F #B9F45F #5FF4E4
split-complementary
#9A5FF4 #F4E45F #6FF45F
monochromatic
#590ECB #7626F0 #9A5FF4 #BE98F8 #E2D2FC

Accessibility & contrast

On white

3.95
#9A5FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#9A5FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A5FF4
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A5FF4#FFFFFF#000000##000000
##9A5FF41.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F9
Deuteranopia (green-blind)
#1B7EF1
Tritanopia (blue-blind)
#8580A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9a5ff4;
/* rgb */ color: rgb(154, 95, 244);
/* oklch */ color: oklch(62.3% 0.214 298.2);
Tailwind
colors: {
  custom: {
    50: '#bd8ff9',
    500: '#9a5ff4',
    950: '#000000',
  },
}
SCSS
$custom: #9a5ff4;
$custom-light: #bd8ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a5ff4",
  "rgb": {
    "r": 154,
    "g": 95,
    "b": 244
  },
  "hsl": {
    "h": 263.758,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62309,
    "c": 0.21387,
    "h": 298.2
  },
  "luminance": 0.21586
}

Semantic roles & 50–950 ramp

primary
#9A5FF4
secondary
#DCF0BF
accent
#E4028A
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130D17
muted
#827D85

Preview Lab

Preview with #9A5FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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