#9D5FDD#9D5FDD

#9D5FDD is a mid, vivid violet. Relative luminance 0.206; OKLCH L 61.1% C 0.188 H 304.1°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9D5FDD
RGBrgb(157, 95, 221)
HSLhsl(270, 65%, 62%)
HSVhsv(270, 57%, 87%)
CMYKcmyk(29%, 57%, 0%, 13.3%)
CIE-LABlab(52.48, 49.17, -55.14)
CIE-LCHlch(52.48, 73.88, 311.72°)
OKLaboklab(61.12% 0.1053 -0.1557)
OKLCHoklch(61.12% 0.188 304.1)
XYZxyz(31.0451, 20.5731, 70.7281)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5FDD #9FDD5F
analogous
#5F60DD #9D5FDD #DC5FDD
triadic
#9D5FDD #DD9D5F #5FDD9D
tetradic
#9D5FDD #DD5F60 #9FDD5F #5FDDDC
square
#9D5FDD #DD5F60 #9FDD5F #5FDDDC
split-complementary
#9D5FDD #DDDC5F #60DD5F
monochromatic
#6022A0 #7E2DD2 #9D5FDD #BC91E8 #DBC4F2

Accessibility & contrast

On white

4.11
#9D5FDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#9D5FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5FDD
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5FDD#FFFFFF#000000##000000
##9D5FDD1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7CE1
Deuteranopia (green-blind)
#447DDA
Tritanopia (blue-blind)
#917895
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9d5fdd;
/* rgb */ color: rgb(157, 95, 221);
/* oklch */ color: oklch(61.1% 0.188 304.1);
Tailwind
colors: {
  custom: {
    50: '#bd8fe8',
    500: '#9d5fdd',
    950: '#000000',
  },
}
SCSS
$custom: #9d5fdd;
$custom-light: #bd8fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5fdd",
  "rgb": {
    "r": 157,
    "g": 95,
    "b": 221
  },
  "hsl": {
    "h": 269.524,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61119,
    "c": 0.18799,
    "h": 304.1
  },
  "luminance": 0.20573
}

Semantic roles & 50–950 ramp

primary
#9D5FDD
secondary
#CCE3B5
accent
#CD1974
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9D5FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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