#9751BD#9751BD

#9751BD is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.5% C 0.171 H 312.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9751BD
RGBrgb(151, 81, 189)
HSLhsl(279, 45%, 53%)
HSVhsv(279, 57%, 74%)
CMYKcmyk(20.1%, 57.1%, 0%, 25.9%)
CIE-LABlab(47.16, 47.66, -45.35)
CIE-LCHlch(47.16, 65.78, 316.42°)
OKLaboklab(56.47% 0.1148 -0.1272)
OKLCHoklch(56.47% 0.171 312.1)
XYZxyz(24.8886, 16.1389, 49.9383)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9751BD #77BD51
analogous
#6151BD #9751BD #BD51AD
triadic
#9751BD #BD9751 #51BD97
tetradic
#9751BD #BD6151 #77BD51 #51ADBD
square
#9751BD #BD6151 #77BD51 #51ADBD
split-complementary
#9751BD #ADBD51 #51BD61
monochromatic
#54296B #763997 #9751BD #B27DCE #CCAADF

Accessibility & contrast

On white

4.97
#9751BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9751BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9751BD
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9751BD#FFFFFF#000000##FFFFFF
##9751BD1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306CC0
Deuteranopia (green-blind)
#4A71BA
Tritanopia (blue-blind)
#93647F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9751bd;
/* rgb */ color: rgb(151, 81, 189);
/* oklch */ color: oklch(56.5% 0.171 312.1);
Tailwind
colors: {
  custom: {
    50: '#b885d1',
    500: '#9751bd',
    950: '#000000',
  },
}
SCSS
$custom: #9751bd;
$custom-light: #b885d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9751bd",
  "rgb": {
    "r": 151,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 278.889,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56466,
    "c": 0.17133,
    "h": 312.1
  },
  "luminance": 0.16138
}

Semantic roles & 50–950 ramp

primary
#9751BD
secondary
#AECC9E
accent
#D55381
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9751BD

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

Preview Lab → · Contrast checker → · Palette generator →

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