#9D5CF2#9D5CF2

#9D5CF2 is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.1% C 0.216 H 300.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9D5CF2
RGBrgb(157, 92, 242)
HSLhsl(266, 85%, 65%)
HSVhsv(266, 62%, 95%)
CMYKcmyk(35.1%, 62%, 0%, 5.1%)
CIE-LABlab(53.20, 55.79, -65.78)
CIE-LCHlch(53.20, 86.25, 310.30°)
OKLaboklab(62.07% 0.1083 -0.1869)
OKLCHoklch(62.07% 0.216 300.1)
XYZxyz(33.7549, 21.2329, 86.3072)
Luminance0.2123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5CF2 #B1F25C
analogous
#5C66F2 #9D5CF2 #E85CF2
triadic
#9D5CF2 #F29D5C #5CF29D
tetradic
#9D5CF2 #F25C66 #B1F25C #5CF2E8
square
#9D5CF2 #F25C66 #B1F25C #5CF2E8
split-complementary
#9D5CF2 #F2E85C #66F25C
monochromatic
#5E10C4 #7B23ED #9D5CF2 #BF95F7 #E1CDFB

Accessibility & contrast

On white

4.00
#9D5CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#9D5CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5CF2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5CF2#FFFFFF#000000##000000
##9D5CF21.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#1F7EEF
Tritanopia (blue-blind)
#8B7D9F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9d5cf2;
/* rgb */ color: rgb(157, 92, 242);
/* oklch */ color: oklch(62.1% 0.216 300.1);
Tailwind
colors: {
  custom: {
    50: '#bf8df7',
    500: '#9d5cf2',
    950: '#000000',
  },
}
SCSS
$custom: #9d5cf2;
$custom-light: #bf8df7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5cf2",
  "rgb": {
    "r": 157,
    "g": 92,
    "b": 242
  },
  "hsl": {
    "h": 266,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62065,
    "c": 0.21604,
    "h": 300.1
  },
  "luminance": 0.21233
}

Semantic roles & 50–950 ramp

primary
#9D5CF2
secondary
#D8EEBC
accent
#E20482
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9D5CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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