#9A5CED#9A5CED

#9A5CED is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.4% C 0.210 H 299.9°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9A5CED
RGBrgb(154, 92, 237)
HSLhsl(266, 80%, 65%)
HSVhsv(266, 61%, 93%)
CMYKcmyk(35%, 61.2%, 0%, 7.1%)
CIE-LABlab(52.55, 53.93, -64.05)
CIE-LCHlch(52.55, 83.73, 310.10°)
OKLaboklab(61.41% 0.1047 -0.1819)
OKLCHoklch(61.41% 0.21 299.9)
XYZxyz(32.4359, 20.6385, 82.3791)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A5CED #AFED5C
analogous
#5C67ED #9A5CED #E25CED
triadic
#9A5CED #ED9A5C #5CED9A
tetradic
#9A5CED #ED5C67 #AFED5C #5CEDE2
square
#9A5CED #ED5C67 #AFED5C #5CEDE2
split-complementary
#9A5CED #EDE25C #67ED5C
monochromatic
#5B15BA #7825E7 #9A5CED #BC93F3 #DECAF9

Accessibility & contrast

On white

4.10
#9A5CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#9A5CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A5CED
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A5CED#FFFFFF#000000##000000
##9A5CED1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF2
Deuteranopia (green-blind)
#247CEA
Tritanopia (blue-blind)
#887B9C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9a5ced;
/* rgb */ color: rgb(154, 92, 237);
/* oklch */ color: oklch(61.4% 0.210 299.9);
Tailwind
colors: {
  custom: {
    50: '#bd8df4',
    500: '#9a5ced',
    950: '#000000',
  },
}
SCSS
$custom: #9a5ced;
$custom-light: #bd8df4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a5ced",
  "rgb": {
    "r": 154,
    "g": 92,
    "b": 237
  },
  "hsl": {
    "h": 265.655,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61414,
    "c": 0.20993,
    "h": 299.9
  },
  "luminance": 0.20639
}

Semantic roles & 50–950 ramp

primary
#9A5CED
secondary
#D6EBB9
accent
#DC0982
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9A5CED

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

Preview Lab → · Contrast checker → · Palette generator →

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