#9754BC#9754BC

#9754BC is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.8% C 0.166 H 312.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9754BC
RGBrgb(151, 84, 188)
HSLhsl(279, 44%, 53%)
HSVhsv(279, 55%, 74%)
CMYKcmyk(19.7%, 55.3%, 0%, 26.3%)
CIE-LABlab(47.69, 45.87, -43.92)
CIE-LCHlch(47.69, 63.50, 316.25°)
OKLaboklab(56.84% 0.1108 -0.123)
OKLCHoklch(56.84% 0.166 312)
XYZxyz(25.0083, 16.5514, 49.4445)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9754BC #79BC54
analogous
#6354BC #9754BC #BC54AD
triadic
#9754BC #BC9754 #54BC97
tetradic
#9754BC #BC6354 #79BC54 #54ADBC
square
#9754BC #BC6354 #79BC54 #54ADBC
split-complementary
#9754BC #ADBC54 #54BC63
monochromatic
#542A6B #773B97 #9754BC #B280CD #CCACDE

Accessibility & contrast

On white

4.87
#9754BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#9754BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9754BC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9754BC#FFFFFF#000000##FFFFFF
##9754BC1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366EBF
Deuteranopia (green-blind)
#4E73B9
Tritanopia (blue-blind)
#936680
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9754bc;
/* rgb */ color: rgb(151, 84, 188);
/* oklch */ color: oklch(56.8% 0.166 312.0);
Tailwind
colors: {
  custom: {
    50: '#b887d1',
    500: '#9754bc',
    950: '#000000',
  },
}
SCSS
$custom: #9754bc;
$custom-light: #b887d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9754bc",
  "rgb": {
    "r": 151,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 278.654,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5684,
    "c": 0.16555,
    "h": 312
  },
  "luminance": 0.16551
}

Semantic roles & 50–950 ramp

primary
#9754BC
secondary
#AFCCA0
accent
#D35482
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9754BC

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

Preview Lab → · Contrast checker → · Palette generator →

#9754BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva