#9A5DED#9A5DED

#9A5DED is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.6% C 0.209 H 299.8°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9A5DED
RGBrgb(154, 93, 237)
HSLhsl(265, 80%, 65%)
HSVhsv(265, 61%, 93%)
CMYKcmyk(35%, 60.8%, 0%, 7.1%)
CIE-LABlab(52.74, 53.41, -63.74)
CIE-LCHlch(52.74, 83.16, 309.96°)
OKLaboklab(61.55% 0.1036 -0.181)
OKLCHoklch(61.55% 0.209 299.8)
XYZxyz(32.5231, 20.8129, 82.4082)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A5DED #B0ED5D
analogous
#5D68ED #9A5DED #E25DED
triadic
#9A5DED #ED9A5D #5DED9A
tetradic
#9A5DED #ED5D68 #B0ED5D #5DEDE2
square
#9A5DED #ED5D68 #B0ED5D #5DEDE2
split-complementary
#9A5DED #EDE25D #68ED5D
monochromatic
#5B15BB #7826E7 #9A5DED #BC94F3 #DFCBF9

Accessibility & contrast

On white

4.07
#9A5DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#9A5DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A5DED
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A5DED#FFFFFF#000000##000000
##9A5DED1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF2
Deuteranopia (green-blind)
#277DEA
Tritanopia (blue-blind)
#887C9C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9a5ded;
/* rgb */ color: rgb(154, 93, 237);
/* oklch */ color: oklch(61.6% 0.209 299.8);
Tailwind
colors: {
  custom: {
    50: '#bd8ef4',
    500: '#9a5ded',
    950: '#000000',
  },
}
SCSS
$custom: #9a5ded;
$custom-light: #bd8ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a5ded",
  "rgb": {
    "r": 154,
    "g": 93,
    "b": 237
  },
  "hsl": {
    "h": 265.417,
    "s": 80,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61554,
    "c": 0.20857,
    "h": 299.8
  },
  "luminance": 0.20813
}

Semantic roles & 50–950 ramp

primary
#9A5DED
secondary
#D7ECBA
accent
#DC0983
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #9A5DED

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

Preview Lab → · Contrast checker → · Palette generator →

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