#9C5FEE#9C5FEE

#9C5FEE is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.1% C 0.207 H 300.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9C5FEE
RGBrgb(156, 95, 238)
HSLhsl(266, 81%, 65%)
HSVhsv(266, 60%, 93%)
CMYKcmyk(34.5%, 60.1%, 0%, 6.7%)
CIE-LABlab(53.41, 53.05, -63.21)
CIE-LCHlch(53.41, 82.53, 310.01°)
OKLaboklab(62.11% 0.1038 -0.1794)
OKLCHoklch(62.11% 0.207 300.1)
XYZxyz(33.2314, 21.4251, 83.2570)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5FEE #B1EE5F
analogous
#5F6AEE #9C5FEE #E35FEE
triadic
#9C5FEE #EE9C5F #5FEE9C
tetradic
#9C5FEE #EE5F6A #B1EE5F #5FEEE3
square
#9C5FEE #EE5F6A #B1EE5F #5FEEE3
split-complementary
#9C5FEE #EEE35F #6AEE5F
monochromatic
#5D14BE #7A28E8 #9C5FEE #BE96F4 #E0CEFA

Accessibility & contrast

On white

3.97
#9C5FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#9C5FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5FEE
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5FEE#FFFFFF#000000##000000
##9C5FEE1.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF3
Deuteranopia (green-blind)
#2C7FEB
Tritanopia (blue-blind)
#8A7D9E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9c5fee;
/* rgb */ color: rgb(156, 95, 238);
/* oklch */ color: oklch(62.1% 0.207 300.1);
Tailwind
colors: {
  custom: {
    50: '#be8ff4',
    500: '#9c5fee',
    950: '#000000',
  },
}
SCSS
$custom: #9c5fee;
$custom-light: #be8ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5fee",
  "rgb": {
    "r": 156,
    "g": 95,
    "b": 238
  },
  "hsl": {
    "h": 265.594,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62109,
    "c": 0.2073,
    "h": 300.1
  },
  "luminance": 0.21425
}

Semantic roles & 50–950 ramp

primary
#9C5FEE
secondary
#D8ECBC
accent
#DD0882
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130D17
muted
#827D85

Preview Lab

Preview with #9C5FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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