#9D5FC0#9D5FC0

#9D5FC0 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.4% C 0.155 H 312.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9D5FC0
RGBrgb(157, 95, 192)
HSLhsl(278, 43%, 56%)
HSVhsv(278, 51%, 75%)
CMYKcmyk(18.2%, 50.5%, 0%, 24.7%)
CIE-LABlab(50.87, 42.49, -41.14)
CIE-LCHlch(50.87, 59.15, 315.93°)
OKLaboklab(59.42% 0.1036 -0.1148)
OKLCHoklch(59.42% 0.155 312.1)
XYZxyz(27.5096, 19.1589, 52.1078)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5FC0 #82C05F
analogous
#6D5FC0 #9D5FC0 #C05FB3
triadic
#9D5FC0 #C09D5F #5FC09D
tetradic
#9D5FC0 #C06D5F #82C05F #5FB3C0
square
#9D5FC0 #C06D5F #82C05F #5FB3C0
split-complementary
#9D5FC0 #B3C05F #5FC06D
monochromatic
#5C2F76 #7F40A2 #9D5FC0 #B88BD1 #D3B7E3

Accessibility & contrast

On white

4.35
#9D5FC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#9D5FC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5FC0
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5FC0#FFFFFF#000000##000000
##9D5FC01.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4776C3
Deuteranopia (green-blind)
#5A7BBD
Tritanopia (blue-blind)
#996F87
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9d5fc0;
/* rgb */ color: rgb(157, 95, 192);
/* oklch */ color: oklch(59.4% 0.155 312.1);
Tailwind
colors: {
  custom: {
    50: '#bc8ed3',
    500: '#9d5fc0',
    950: '#000000',
  },
}
SCSS
$custom: #9d5fc0;
$custom-light: #bc8ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5fc0",
  "rgb": {
    "r": 157,
    "g": 95,
    "b": 192
  },
  "hsl": {
    "h": 278.351,
    "s": 43.498,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59416,
    "c": 0.15465,
    "h": 312.1
  },
  "luminance": 0.19158
}

Semantic roles & 50–950 ramp

primary
#9D5FC0
secondary
#B8D1A9
accent
#D35582
background
#FBF8FD
surface
#F7F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #9D5FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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