#9C5DA2#9C5DA2

#9C5DA2 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 57.4% C 0.124 H 323.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9C5DA2
RGBrgb(156, 93, 162)
HSLhsl(295, 27%, 50%)
HSVhsv(295, 43%, 64%)
CMYKcmyk(3.7%, 42.6%, 0%, 36.5%)
CIE-LABlab(48.89, 36.96, -26.77)
CIE-LCHlch(48.89, 45.64, 324.08°)
OKLaboklab(57.45% 0.1005 -0.0734)
OKLCHoklch(57.45% 0.124 323.9)
XYZxyz(24.1456, 17.5063, 36.2826)
Luminance0.1751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5DA2 #63A25D
analogous
#7A5DA2 #9C5DA2 #A25D85
triadic
#9C5DA2 #A29C5D #5DA29C
tetradic
#9C5DA2 #A27A5D #63A25D #5D85A2
square
#9C5DA2 #A27A5D #63A25D #5D85A2
split-complementary
#9C5DA2 #85A25D #5DA27A
monochromatic
#513054 #77477B #9C5DA2 #B484B8 #CCABCF

Accessibility & contrast

On white

4.67
#9C5DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9C5DA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9C5DA2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5DA2#FFFFFF#000000##FFFFFF
##9C5DA21.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556FA4
Deuteranopia (green-blind)
#6677A0
Tritanopia (blue-blind)
#9F6578
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9c5da2;
/* rgb */ color: rgb(156, 93, 162);
/* oklch */ color: oklch(57.4% 0.124 323.9);
Tailwind
colors: {
  custom: {
    50: '#ba8cbd',
    500: '#9c5da2',
    950: '#000000',
  },
}
SCSS
$custom: #9c5da2;
$custom-light: #ba8cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5da2",
  "rgb": {
    "r": 156,
    "g": 93,
    "b": 162
  },
  "hsl": {
    "h": 294.783,
    "s": 27.059,
    "l": 50
  },
  "oklch": {
    "l": 0.57445,
    "c": 0.12447,
    "h": 323.9
  },
  "luminance": 0.17505
}

Semantic roles & 50–950 ramp

primary
#9C5DA2
secondary
#A1BD9E
accent
#C3646D
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#120C12
muted
#817D81

Preview Lab

Preview with #9C5DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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