#9754BD#9754BD

#9754BD is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.9% C 0.167 H 311.7°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#9754BD
RGBrgb(151, 84, 189)
HSLhsl(278, 44%, 54%)
HSVhsv(278, 56%, 74%)
CMYKcmyk(20.1%, 55.6%, 0%, 25.9%)
CIE-LABlab(47.75, 46.09, -44.41)
CIE-LCHlch(47.75, 64.01, 316.07°)
OKLaboklab(56.9% 0.1109 -0.1244)
OKLCHoklch(56.9% 0.167 311.7)
XYZxyz(25.1165, 16.5946, 50.0142)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9754BD #7ABD54
analogous
#6254BD #9754BD #BD54AE
triadic
#9754BD #BD9754 #54BD97
tetradic
#9754BD #BD6254 #7ABD54 #54AEBD
square
#9754BD #BD6254 #7ABD54 #54AEBD
split-complementary
#9754BD #AEBD54 #54BD62
monochromatic
#552A6D #773B99 #9754BD #B280CE #CDACDF

Accessibility & contrast

On white

4.86
#9754BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#9754BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9754BD
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9754BD#FFFFFF#000000##FFFFFF
##9754BD1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356EC0
Deuteranopia (green-blind)
#4D73BA
Tritanopia (blue-blind)
#936680
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9754bd;
/* rgb */ color: rgb(151, 84, 189);
/* oklch */ color: oklch(56.9% 0.167 311.7);
Tailwind
colors: {
  custom: {
    50: '#b887d1',
    500: '#9754bd',
    950: '#000000',
  },
}
SCSS
$custom: #9754bd;
$custom-light: #b887d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9754bd",
  "rgb": {
    "r": 151,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 278.286,
    "s": 44.304,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56898,
    "c": 0.16666,
    "h": 311.7
  },
  "luminance": 0.16594
}

Semantic roles & 50–950 ramp

primary
#9754BD
secondary
#B0CDA0
accent
#D45482
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9754BD

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

Preview Lab → · Contrast checker → · Palette generator →

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