#9F5DED#9F5DED

#9F5DED is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.1% C 0.209 H 301.7°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9F5DED
RGBrgb(159, 93, 237)
HSLhsl(268, 80%, 65%)
HSVhsv(268, 61%, 93%)
CMYKcmyk(32.9%, 60.8%, 0%, 7.1%)
CIE-LABlab(53.29, 54.50, -62.83)
CIE-LCHlch(53.29, 83.17, 310.94°)
OKLaboklab(62.08% 0.11 -0.1782)
OKLCHoklch(62.08% 0.209 301.7)
XYZxyz(33.4949, 21.3139, 82.4537)
Luminance0.2131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F5DED #ABED5D
analogous
#5D63ED #9F5DED #E75DED
triadic
#9F5DED #ED9F5D #5DED9F
tetradic
#9F5DED #ED5D63 #ABED5D #5DEDE7
square
#9F5DED #ED5D63 #ABED5D #5DEDE7
split-complementary
#9F5DED #EDE75D #63ED5D
monochromatic
#6115BB #7E26E7 #9F5DED #C094F3 #E0CBF9

Accessibility & contrast

On white

3.99
#9F5DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#9F5DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F5DED
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F5DED#FFFFFF#000000##000000
##9F5DED1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF2
Deuteranopia (green-blind)
#2F7FEA
Tritanopia (blue-blind)
#8F7B9C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9f5ded;
/* rgb */ color: rgb(159, 93, 237);
/* oklch */ color: oklch(62.1% 0.209 301.7);
Tailwind
colors: {
  custom: {
    50: '#c08ef4',
    500: '#9f5ded',
    950: '#000000',
  },
}
SCSS
$custom: #9f5ded;
$custom-light: #c08ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f5ded",
  "rgb": {
    "r": 159,
    "g": 93,
    "b": 237
  },
  "hsl": {
    "h": 267.5,
    "s": 80,
    "l": 64.706
  },
  "oklch": {
    "l": 0.62076,
    "c": 0.20943,
    "h": 301.7
  },
  "luminance": 0.21314
}

Semantic roles & 50–950 ramp

primary
#9F5DED
secondary
#D5ECBA
accent
#DC097C
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9F5DED

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

Preview Lab → · Contrast checker → · Palette generator →

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