#9C5CDA#9C5CDA

#9C5CDA is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.4% C 0.189 H 304.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9C5CDA
RGBrgb(156, 92, 218)
HSLhsl(270, 63%, 61%)
HSVhsv(270, 58%, 85%)
CMYKcmyk(28.4%, 57.8%, 0%, 14.5%)
CIE-LABlab(51.59, 49.80, -54.87)
CIE-LCHlch(51.59, 74.10, 312.23°)
OKLaboklab(60.39% 0.1078 -0.1549)
OKLCHoklch(60.39% 0.189 304.8)
XYZxyz(30.1896, 19.7843, 68.5444)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5CDA #9ADA5C
analogous
#5D5CDA #9C5CDA #DA5CD9
triadic
#9C5CDA #DA9C5C #5CDA9C
tetradic
#9C5CDA #DA5D5C #9ADA5C #5CD9DA
square
#9C5CDA #DA5D5C #9ADA5C #5CD9DA
split-complementary
#9C5CDA #D9DA5C #5CDA5D
monochromatic
#5F2399 #7E2ECB #9C5CDA #BA8EE5 #D9C0F1

Accessibility & contrast

On white

4.24
#9C5CDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#9C5CDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5CDA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5CDA#FFFFFF#000000##000000
##9C5CDA1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2679DE
Deuteranopia (green-blind)
#427BD7
Tritanopia (blue-blind)
#917592
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9c5cda;
/* rgb */ color: rgb(156, 92, 218);
/* oklch */ color: oklch(60.4% 0.189 304.8);
Tailwind
colors: {
  custom: {
    50: '#bd8de6',
    500: '#9c5cda',
    950: '#000000',
  },
}
SCSS
$custom: #9c5cda;
$custom-light: #bd8de6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5cda",
  "rgb": {
    "r": 156,
    "g": 92,
    "b": 218
  },
  "hsl": {
    "h": 270.476,
    "s": 63,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60387,
    "c": 0.18872,
    "h": 304.8
  },
  "luminance": 0.19784
}

Semantic roles & 50–950 ramp

primary
#9C5CDA
secondary
#C9E1B1
accent
#CB1B71
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9C5CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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