#9D5CF7#9D5CF7

#9D5CF7 is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.4% C 0.222 H 299.1°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9D5CF7
RGBrgb(157, 92, 247)
HSLhsl(265, 91%, 66%)
HSVhsv(265, 63%, 97%)
CMYKcmyk(36.4%, 62.8%, 0%, 3.1%)
CIE-LABlab(53.53, 57.01, -68.03)
CIE-LCHlch(53.53, 88.76, 309.96°)
OKLaboklab(62.41% 0.1079 -0.1936)
OKLCHoklch(62.41% 0.222 299.1)
XYZxyz(34.5161, 21.5374, 90.3163)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5CF7 #B6F75C
analogous
#5C69F7 #9D5CF7 #EA5CF7
triadic
#9D5CF7 #F79D5C #5CF79D
tetradic
#9D5CF7 #F75C69 #B6F75C #5CF7EA
square
#9D5CF7 #F75C69 #B6F75C #5CF7EA
split-complementary
#9D5CF7 #F7EA5C #69F75C
monochromatic
#5C0ACE #7A22F4 #9D5CF7 #C096FA #E3D1FD

Accessibility & contrast

On white

3.96
#9D5CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#9D5CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5CF7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5CF7#FFFFFF#000000##000000
##9D5CF71.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FC
Deuteranopia (green-blind)
#0D7FF4
Tritanopia (blue-blind)
#897FA1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9d5cf7;
/* rgb */ color: rgb(157, 92, 247);
/* oklch */ color: oklch(62.4% 0.222 299.1);
Tailwind
colors: {
  custom: {
    50: '#bf8dfb',
    500: '#9d5cf7',
    950: '#000000',
  },
}
SCSS
$custom: #9d5cf7;
$custom-light: #bf8dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5cf7",
  "rgb": {
    "r": 157,
    "g": 92,
    "b": 247
  },
  "hsl": {
    "h": 265.161,
    "s": 90.643,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62407,
    "c": 0.22162,
    "h": 299.1
  },
  "luminance": 0.21538
}

Semantic roles & 50–950 ramp

primary
#9D5CF7
secondary
#DBF1BE
accent
#E60085
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9D5CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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