#9D5CF5#9D5CF5

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

Color values

HEX#9D5CF5
RGBrgb(157, 92, 245)
HSLhsl(265, 88%, 66%)
HSVhsv(265, 62%, 96%)
CMYKcmyk(35.9%, 62.4%, 0%, 3.9%)
CIE-LABlab(53.40, 56.52, -67.13)
CIE-LCHlch(53.40, 87.76, 310.10°)
OKLaboklab(62.27% 0.1081 -0.1909)
OKLCHoklch(62.27% 0.219 299.5)
XYZxyz(34.2091, 21.4146, 88.6996)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5CF5 #B4F55C
analogous
#5C67F5 #9D5CF5 #E95CF5
triadic
#9D5CF5 #F59D5C #5CF59D
tetradic
#9D5CF5 #F55C67 #B4F55C #5CF5E9
square
#9D5CF5 #F55C67 #B4F55C #5CF5E9
split-complementary
#9D5CF5 #F5E95C #67F55C
monochromatic
#5D0CCA #7A22F1 #9D5CF5 #C096F9 #E2CFFC

Accessibility & contrast

On white

3.98
#9D5CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D5CF5#FFFFFF#000000##000000
##9D5CF51.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFA
Deuteranopia (green-blind)
#167EF2
Tritanopia (blue-blind)
#897EA0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9d5cf5;
/* rgb */ color: rgb(157, 92, 245);
/* oklch */ color: oklch(62.3% 0.219 299.5);
Tailwind
colors: {
  custom: {
    50: '#bf8df9',
    500: '#9d5cf5',
    950: '#000000',
  },
}
SCSS
$custom: #9d5cf5;
$custom-light: #bf8df9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5cf5",
  "rgb": {
    "r": 157,
    "g": 92,
    "b": 245
  },
  "hsl": {
    "h": 265.49,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6227,
    "c": 0.21939,
    "h": 299.5
  },
  "luminance": 0.21415
}

Semantic roles & 50–950 ramp

primary
#9D5CF5
secondary
#DAF0BD
accent
#E50084
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9D5CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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