#9751BC#9751BC

#9751BC is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.4% C 0.170 H 312.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9751BC
RGBrgb(151, 81, 188)
HSLhsl(279, 44%, 53%)
HSVhsv(279, 57%, 74%)
CMYKcmyk(19.7%, 56.9%, 0%, 26.3%)
CIE-LABlab(47.10, 47.44, -44.86)
CIE-LCHlch(47.10, 65.29, 316.60°)
OKLaboklab(56.41% 0.1148 -0.1257)
OKLCHoklch(56.41% 0.17 312.4)
XYZxyz(24.7804, 16.0956, 49.3686)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9751BC #76BC51
analogous
#6151BC #9751BC #BC51AC
triadic
#9751BC #BC9751 #51BC97
tetradic
#9751BC #BC6151 #76BC51 #51ACBC
square
#9751BC #BC6151 #76BC51 #51ACBC
split-complementary
#9751BC #ACBC51 #51BC61
monochromatic
#53296A #763A96 #9751BC #B17DCD #CCA9DE

Accessibility & contrast

On white

4.98
#9751BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#9751BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9751BC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9751BC#FFFFFF#000000##FFFFFF
##9751BC1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316CBF
Deuteranopia (green-blind)
#4B71B9
Tritanopia (blue-blind)
#93647F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9751bc;
/* rgb */ color: rgb(151, 81, 188);
/* oklch */ color: oklch(56.4% 0.170 312.4);
Tailwind
colors: {
  custom: {
    50: '#b885d1',
    500: '#9751bc',
    950: '#000000',
  },
}
SCSS
$custom: #9751bc;
$custom-light: #b885d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9751bc",
  "rgb": {
    "r": 151,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 279.252,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56407,
    "c": 0.17024,
    "h": 312.4
  },
  "luminance": 0.16095
}

Semantic roles & 50–950 ramp

primary
#9751BC
secondary
#ADCC9D
accent
#D45480
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9751BC

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

Preview Lab → · Contrast checker → · Palette generator →

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