#9D5FF6#9D5FF6

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

Color values

HEX#9D5FF6
RGBrgb(157, 95, 246)
HSLhsl(265, 89%, 67%)
HSVhsv(265, 61%, 96%)
CMYKcmyk(36.2%, 61.4%, 0%, 3.5%)
CIE-LABlab(54.03, 55.24, -66.67)
CIE-LCHlch(54.03, 86.58, 309.64°)
OKLaboklab(62.75% 0.1047 -0.1896)
OKLCHoklch(62.75% 0.217 298.9)
XYZxyz(34.6273, 22.0059, 89.5941)
Luminance0.2201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5FF6 #B8F65F
analogous
#5F6DF6 #9D5FF6 #E95FF6
triadic
#9D5FF6 #F69D5F #5FF69D
tetradic
#9D5FF6 #F65F6D #B8F65F #5FF6E9
square
#9D5FF6 #F65F6D #B8F65F #5FF6E9
split-complementary
#9D5FF6 #F6E95F #6DF65F
monochromatic
#5C0CCF #7A25F3 #9D5FF6 #C099F9 #E4D3FD

Accessibility & contrast

On white

3.89
#9D5FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#9D5FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5FF6
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5FF6#FFFFFF#000000##000000
##9D5FF61.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FB
Deuteranopia (green-blind)
#1D80F3
Tritanopia (blue-blind)
#8980A2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9d5ff6;
/* rgb */ color: rgb(157, 95, 246);
/* oklch */ color: oklch(62.7% 0.217 298.9);
Tailwind
colors: {
  custom: {
    50: '#bf8ffa',
    500: '#9d5ff6',
    950: '#000000',
  },
}
SCSS
$custom: #9d5ff6;
$custom-light: #bf8ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5ff6",
  "rgb": {
    "r": 157,
    "g": 95,
    "b": 246
  },
  "hsl": {
    "h": 264.636,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.62749,
    "c": 0.21656,
    "h": 298.9
  },
  "luminance": 0.22006
}

Semantic roles & 50–950 ramp

primary
#9D5FF6
secondary
#DDF1C0
accent
#E60087
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #9D5FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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