#9D5FF2#9D5FF2

#9D5FF2 is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.5% C 0.212 H 299.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9D5FF2
RGBrgb(157, 95, 242)
HSLhsl(265, 85%, 66%)
HSVhsv(265, 61%, 95%)
CMYKcmyk(35.1%, 60.7%, 0%, 5.1%)
CIE-LABlab(53.77, 54.25, -64.86)
CIE-LCHlch(53.77, 84.56, 309.91°)
OKLaboklab(62.48% 0.1049 -0.1842)
OKLCHoklch(62.48% 0.212 299.7)
XYZxyz(34.0199, 21.7630, 86.3955)
Luminance0.2176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5FF2 #B4F25F
analogous
#5F6AF2 #9D5FF2 #E65FF2
triadic
#9D5FF2 #F29D5F #5FF29D
tetradic
#9D5FF2 #F25F6A #B4F25F #5FF2E6
square
#9D5FF2 #F25F6A #B4F25F #5FF2E6
split-complementary
#9D5FF2 #F2E65F #6AF25F
monochromatic
#5D10C6 #7A26ED #9D5FF2 #C098F7 #E2D0FB

Accessibility & contrast

On white

3.92
#9D5FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#9D5FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5FF2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5FF2#FFFFFF#000000##000000
##9D5FF21.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#277FEF
Tritanopia (blue-blind)
#8A7FA0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9d5ff2;
/* rgb */ color: rgb(157, 95, 242);
/* oklch */ color: oklch(62.5% 0.212 299.7);
Tailwind
colors: {
  custom: {
    50: '#bf8ff7',
    500: '#9d5ff2',
    950: '#000000',
  },
}
SCSS
$custom: #9d5ff2;
$custom-light: #bf8ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5ff2",
  "rgb": {
    "r": 157,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 265.306,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62479,
    "c": 0.21201,
    "h": 299.7
  },
  "luminance": 0.21763
}

Semantic roles & 50–950 ramp

primary
#9D5FF2
secondary
#DAEFBE
accent
#E10484
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #9D5FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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