#9A5EED#9A5EED

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

Color values

HEX#9A5EED
RGBrgb(154, 94, 237)
HSLhsl(265, 80%, 65%)
HSVhsv(265, 60%, 93%)
CMYKcmyk(35%, 60.3%, 0%, 7.1%)
CIE-LABlab(52.94, 52.89, -63.43)
CIE-LCHlch(52.94, 82.58, 309.82°)
OKLaboklab(61.7% 0.1024 -0.1801)
OKLCHoklch(61.7% 0.207 299.6)
XYZxyz(32.6115, 20.9896, 82.4376)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A5EED #B1ED5E
analogous
#5E69ED #9A5EED #E25EED
triadic
#9A5EED #ED9A5E #5EED9A
tetradic
#9A5EED #ED5E69 #B1ED5E #5EEDE2
square
#9A5EED #ED5E69 #B1ED5E #5EEDE2
split-complementary
#9A5EED #EDE25E #69ED5E
monochromatic
#5B15BC #7727E7 #9A5EED #BD95F3 #DFCCF9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A5EED#FFFFFF#000000##000000
##9A5EED1.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)
#007EF2
Deuteranopia (green-blind)
#297DEA
Tritanopia (blue-blind)
#887D9D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9a5eed;
/* rgb */ color: rgb(154, 94, 237);
/* oklch */ color: oklch(61.7% 0.207 299.6);
Tailwind
colors: {
  custom: {
    50: '#bd8ef4',
    500: '#9a5eed',
    950: '#000000',
  },
}
SCSS
$custom: #9a5eed;
$custom-light: #bd8ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a5eed",
  "rgb": {
    "r": 154,
    "g": 94,
    "b": 237
  },
  "hsl": {
    "h": 265.175,
    "s": 79.888,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61695,
    "c": 0.20721,
    "h": 299.6
  },
  "luminance": 0.2099
}

Semantic roles & 50–950 ramp

primary
#9A5EED
secondary
#D7ECBB
accent
#DC0984
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #9A5EED

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

Preview Lab → · Contrast checker → · Palette generator →

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