#9A5FF1#9A5FF1

#9A5FF1 is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.1% C 0.210 H 298.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9A5FF1
RGBrgb(154, 95, 241)
HSLhsl(264, 84%, 66%)
HSVhsv(264, 61%, 95%)
CMYKcmyk(36.1%, 60.6%, 0%, 5.5%)
CIE-LABlab(53.39, 53.36, -64.93)
CIE-LCHlch(53.39, 84.05, 309.41°)
OKLaboklab(62.11% 0.1011 -0.1846)
OKLCHoklch(62.11% 0.21 298.7)
XYZxyz(33.2919, 21.4049, 85.5796)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A5FF1 #B6F15F
analogous
#5F6DF1 #9A5FF1 #E35FF1
triadic
#9A5FF1 #F19A5F #5FF19A
tetradic
#9A5FF1 #F15F6D #B6F15F #5FF1E3
square
#9A5FF1 #F15F6D #B6F15F #5FF1E3
split-complementary
#9A5FF1 #F1E35F #6DF15F
monochromatic
#5A11C4 #7627EC #9A5FF1 #BE97F6 #E1D0FB

Accessibility & contrast

On white

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

On black

5.28
#9A5FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A5FF1
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A5FF1#FFFFFF#000000##000000
##9A5FF11.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F6
Deuteranopia (green-blind)
#237EEE
Tritanopia (blue-blind)
#867F9F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9a5ff1;
/* rgb */ color: rgb(154, 95, 241);
/* oklch */ color: oklch(62.1% 0.210 298.7);
Tailwind
colors: {
  custom: {
    50: '#bd8ff6',
    500: '#9a5ff1',
    950: '#000000',
  },
}
SCSS
$custom: #9a5ff1;
$custom-light: #bd8ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a5ff1",
  "rgb": {
    "r": 154,
    "g": 95,
    "b": 241
  },
  "hsl": {
    "h": 264.247,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62106,
    "c": 0.21044,
    "h": 298.7
  },
  "luminance": 0.21405
}

Semantic roles & 50–950 ramp

primary
#9A5FF1
secondary
#DBEEBE
accent
#E00588
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130D17
muted
#827D85

Preview Lab

Preview with #9A5FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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