#9A5FF0#9A5FF0

#9A5FF0 is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.0% C 0.209 H 298.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9A5FF0
RGBrgb(154, 95, 240)
HSLhsl(264, 83%, 66%)
HSVhsv(264, 60%, 94%)
CMYKcmyk(35.8%, 60.4%, 0%, 5.9%)
CIE-LABlab(53.33, 53.11, -64.48)
CIE-LCHlch(53.33, 83.54, 309.48°)
OKLaboklab(62.04% 0.1012 -0.1832)
OKLCHoklch(62.04% 0.209 298.9)
XYZxyz(33.1429, 21.3453, 84.7951)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A5FF0 #B5F05F
analogous
#5F6CF0 #9A5FF0 #E35FF0
triadic
#9A5FF0 #F09A5F #5FF09A
tetradic
#9A5FF0 #F05F6C #B5F05F #5FF0E3
square
#9A5FF0 #F05F6C #B5F05F #5FF0E3
split-complementary
#9A5FF0 #F0E35F #6CF05F
monochromatic
#5A12C2 #7727EB #9A5FF0 #BD97F5 #E1CFFA

Accessibility & contrast

On white

3.99
#9A5FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A5FF0#FFFFFF#000000##000000
##9A5FF01.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF5
Deuteranopia (green-blind)
#257EED
Tritanopia (blue-blind)
#877E9F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9a5ff0;
/* rgb */ color: rgb(154, 95, 240);
/* oklch */ color: oklch(62.0% 0.209 298.9);
Tailwind
colors: {
  custom: {
    50: '#bd8ff6',
    500: '#9a5ff0',
    950: '#000000',
  },
}
SCSS
$custom: #9a5ff0;
$custom-light: #bd8ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a5ff0",
  "rgb": {
    "r": 154,
    "g": 95,
    "b": 240
  },
  "hsl": {
    "h": 264.414,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62039,
    "c": 0.20929,
    "h": 298.9
  },
  "luminance": 0.21346
}

Semantic roles & 50–950 ramp

primary
#9A5FF0
secondary
#DAEEBD
accent
#DF0687
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130D17
muted
#827D85

Preview Lab

Preview with #9A5FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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