#9A5DF0#9A5DF0

#9A5DF0 is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.8% C 0.212 H 299.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9A5DF0
RGBrgb(154, 93, 240)
HSLhsl(265, 83%, 65%)
HSVhsv(265, 61%, 94%)
CMYKcmyk(35.8%, 61.2%, 0%, 5.9%)
CIE-LABlab(52.94, 54.15, -65.10)
CIE-LCHlch(52.94, 84.68, 309.75°)
OKLaboklab(61.76% 0.1034 -0.185)
OKLCHoklch(61.76% 0.212 299.2)
XYZxyz(32.9651, 20.9897, 84.7358)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A5DF0 #B3F05D
analogous
#5D69F0 #9A5DF0 #E45DF0
triadic
#9A5DF0 #F09A5D #5DF09A
tetradic
#9A5DF0 #F05D69 #B3F05D #5DF0E4
square
#9A5DF0 #F05D69 #B3F05D #5DF0E4
split-complementary
#9A5DF0 #F0E45D #69F05D
monochromatic
#5A12C1 #7725EB #9A5DF0 #BD95F5 #E0CDFA

Accessibility & contrast

On white

4.04
#9A5DF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#9A5DF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A5DF0
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A5DF0#FFFFFF#000000##000000
##9A5DF01.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF5
Deuteranopia (green-blind)
#207DED
Tritanopia (blue-blind)
#877D9E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9a5df0;
/* rgb */ color: rgb(154, 93, 240);
/* oklch */ color: oklch(61.8% 0.212 299.2);
Tailwind
colors: {
  custom: {
    50: '#bd8ef6',
    500: '#9a5df0',
    950: '#000000',
  },
}
SCSS
$custom: #9a5df0;
$custom-light: #bd8ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a5df0",
  "rgb": {
    "r": 154,
    "g": 93,
    "b": 240
  },
  "hsl": {
    "h": 264.898,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61757,
    "c": 0.21199,
    "h": 299.2
  },
  "luminance": 0.2099
}

Semantic roles & 50–950 ramp

primary
#9A5DF0
secondary
#D9EDBC
accent
#DF0685
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9A5DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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