#9D5EFF#9D5EFF

#9D5EFF is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.2% C 0.228 H 297.5°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9D5EFF
RGBrgb(157, 94, 255)
HSLhsl(263, 100%, 68%)
HSVhsv(263, 63%, 100%)
CMYKcmyk(38.4%, 63.1%, 0%, 0%)
CIE-LABlab(54.44, 57.98, -71.00)
CIE-LCHlch(54.44, 91.67, 309.23°)
OKLaboklab(63.23% 0.1051 -0.2023)
OKLCHoklch(63.23% 0.228 297.5)
XYZxyz(35.9527, 22.3929, 97.0164)
Luminance0.2239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5EFF #C0FF5E
analogous
#5E6FFF #9D5EFF #ED5EFF
triadic
#9D5EFF #FF9D5E #5EFF9D
tetradic
#9D5EFF #FF5E6F #C0FF5E #5EFFED
square
#9D5EFF #FF5E6F #C0FF5E #5EFFED
split-complementary
#9D5EFF #FFED5E #6FFF5E
monochromatic
#5900E3 #7821FF #9D5EFF #C29BFF #E8D8FF

Accessibility & contrast

On white

3.83
#9D5EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#9D5EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5EFF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5EFF#FFFFFF#000000##000000
##9D5EFF1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#0080FC
Tritanopia (blue-blind)
#8583A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9d5eff;
/* rgb */ color: rgb(157, 94, 255);
/* oklch */ color: oklch(63.2% 0.228 297.5);
Tailwind
colors: {
  custom: {
    50: '#c08fff',
    500: '#9d5eff',
    950: '#000000',
  },
}
SCSS
$custom: #9d5eff;
$custom-light: #c08fff;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5eff",
  "rgb": {
    "r": 157,
    "g": 94,
    "b": 255
  },
  "hsl": {
    "h": 263.478,
    "s": 100,
    "l": 68.431
  },
  "oklch": {
    "l": 0.63234,
    "c": 0.22799,
    "h": 297.5
  },
  "luminance": 0.22394
}

Semantic roles & 50–950 ramp

primary
#9D5EFF
secondary
#E2F5C4
accent
#E6008C
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #9D5EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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