#9D5EF7#9D5EF7

#9D5EF7 is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 62.7% C 0.219 H 298.9°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9D5EF7
RGBrgb(157, 94, 247)
HSLhsl(265, 91%, 67%)
HSVhsv(265, 62%, 97%)
CMYKcmyk(36.4%, 61.9%, 0%, 3.1%)
CIE-LABlab(53.91, 56.00, -67.43)
CIE-LCHlch(53.91, 87.65, 309.71°)
OKLaboklab(62.68% 0.1058 -0.1918)
OKLCHoklch(62.68% 0.219 298.9)
XYZxyz(34.6917, 21.8885, 90.3748)
Luminance0.2189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5EF7 #B8F75E
analogous
#5E6CF7 #9D5EF7 #EA5EF7
triadic
#9D5EF7 #F79D5E #5EF79D
tetradic
#9D5EF7 #F75E6C #B8F75E #5EF7EA
square
#9D5EF7 #F75E6C #B8F75E #5EF7EA
split-complementary
#9D5EF7 #F7EA5E #6CF75E
monochromatic
#5C0AD0 #7A24F4 #9D5EF7 #C098FA #E4D3FD

Accessibility & contrast

On white

3.90
#9D5EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#9D5EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5EF7
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5EF7#FFFFFF#000000##000000
##9D5EF71.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FC
Deuteranopia (green-blind)
#167FF4
Tritanopia (blue-blind)
#8980A2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9d5ef7;
/* rgb */ color: rgb(157, 94, 247);
/* oklch */ color: oklch(62.7% 0.219 298.9);
Tailwind
colors: {
  custom: {
    50: '#bf8ffb',
    500: '#9d5ef7',
    950: '#000000',
  },
}
SCSS
$custom: #9d5ef7;
$custom-light: #bf8ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5ef7",
  "rgb": {
    "r": 157,
    "g": 94,
    "b": 247
  },
  "hsl": {
    "h": 264.706,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.6268,
    "c": 0.219,
    "h": 298.9
  },
  "luminance": 0.21889
}

Semantic roles & 50–950 ramp

primary
#9D5EF7
secondary
#DDF1C0
accent
#E60087
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130D17
muted
#827D85

Preview Lab

Preview with #9D5EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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