#9D4CCB#9D4CCB

#9D4CCB is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.4% C 0.196 H 311.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9D4CCB
RGBrgb(157, 76, 203)
HSLhsl(278, 55%, 55%)
HSVhsv(278, 63%, 80%)
CMYKcmyk(22.7%, 62.6%, 0%, 20.4%)
CIE-LABlab(47.82, 54.70, -52.35)
CIE-LCHlch(47.82, 75.71, 316.26°)
OKLaboklab(57.38% 0.1287 -0.1474)
OKLCHoklch(57.38% 0.196 311.1)
XYZxyz(27.2666, 16.6494, 58.2656)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4CCB #7ACB4C
analogous
#5E4CCB #9D4CCB #CB4CB9
triadic
#9D4CCB #CB9D4C #4CCB9D
tetradic
#9D4CCB #CB5E4C #7ACB4C #4CB9CB
square
#9D4CCB #CB5E4C #7ACB4C #4CB9CB
split-complementary
#9D4CCB #B9CB4C #4CCB5E
monochromatic
#5A2379 #7D31A9 #9D4CCB #B77BD9 #D1ABE7

Accessibility & contrast

On white

4.85
#9D4CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#9D4CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4CCB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4CCB#FFFFFF#000000##FFFFFF
##9D4CCB1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#106ECF
Deuteranopia (green-blind)
#3F73C8
Tritanopia (blue-blind)
#976585
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9d4ccb;
/* rgb */ color: rgb(157, 76, 203);
/* oklch */ color: oklch(57.4% 0.196 311.1);
Tailwind
colors: {
  custom: {
    50: '#bd83db',
    500: '#9d4ccb',
    950: '#000000',
  },
}
SCSS
$custom: #9d4ccb;
$custom-light: #bd83db;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4ccb",
  "rgb": {
    "r": 157,
    "g": 76,
    "b": 203
  },
  "hsl": {
    "h": 278.268,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57375,
    "c": 0.19572,
    "h": 311.1
  },
  "luminance": 0.16649
}

Semantic roles & 50–950 ramp

primary
#9D4CCB
secondary
#B2D49F
accent
#DE497F
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D4CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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