#9C4BDB#9C4BDB

#9C4BDB is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.2% C 0.213 H 306.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9C4BDB
RGBrgb(156, 75, 219)
HSLhsl(274, 67%, 58%)
HSVhsv(274, 66%, 86%)
CMYKcmyk(28.8%, 65.8%, 0%, 14.1%)
CIE-LABlab(48.53, 58.50, -60.36)
CIE-LCHlch(48.53, 84.06, 314.10°)
OKLaboklab(58.19% 0.1276 -0.171)
OKLCHoklch(58.19% 0.213 306.7)
XYZxyz(29.0098, 17.2149, 68.7986)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4BDB #8ADB4B
analogous
#544BDB #9C4BDB #DB4BD2
triadic
#9C4BDB #DB9C4B #4BDB9C
tetradic
#9C4BDB #DB544B #8ADB4B #4BD2DB
square
#9C4BDB #DB544B #8ADB4B #4BD2DB
split-complementary
#9C4BDB #D2DB4B #4BDB54
monochromatic
#5D1D8F #7E27C2 #9C4BDB #B87EE5 #D4B1EF

Accessibility & contrast

On white

4.73
#9C4BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9C4BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4BDB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4BDB#FFFFFF#000000##FFFFFF
##9C4BDB1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#2874D8
Tritanopia (blue-blind)
#926A8D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9c4bdb;
/* rgb */ color: rgb(156, 75, 219);
/* oklch */ color: oklch(58.2% 0.213 306.7);
Tailwind
colors: {
  custom: {
    50: '#be82e7',
    500: '#9c4bdb',
    950: '#000000',
  },
}
SCSS
$custom: #9c4bdb;
$custom-light: #be82e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4bdb",
  "rgb": {
    "r": 156,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 273.75,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58187,
    "c": 0.21336,
    "h": 306.7
  },
  "luminance": 0.17215
}

Semantic roles & 50–950 ramp

primary
#9C4BDB
secondary
#BDDEA4
accent
#EA3E89
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C4BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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