#9751BF#9751BF

#9751BF is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.6% C 0.174 H 311.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9751BF
RGBrgb(151, 81, 191)
HSLhsl(278, 46%, 53%)
HSVhsv(278, 58%, 75%)
CMYKcmyk(20.9%, 57.6%, 0%, 25.1%)
CIE-LABlab(47.27, 48.10, -46.33)
CIE-LCHlch(47.27, 66.78, 316.08°)
OKLaboklab(56.59% 0.1149 -0.13)
OKLCHoklch(56.59% 0.174 311.5)
XYZxyz(25.1072, 16.2263, 51.0895)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9751BF #79BF51
analogous
#6051BF #9751BF #BF51B0
triadic
#9751BF #BF9751 #51BF97
tetradic
#9751BF #BF6051 #79BF51 #51B0BF
square
#9751BF #BF6051 #79BF51 #51B0BF
split-complementary
#9751BF #B0BF51 #51BF60
monochromatic
#54286D #77399A #9751BF #B27ECF #CCAAE0

Accessibility & contrast

On white

4.95
#9751BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#9751BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9751BF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9751BF#FFFFFF#000000##FFFFFF
##9751BF1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6DC3
Deuteranopia (green-blind)
#4972BC
Tritanopia (blue-blind)
#926580
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9751bf;
/* rgb */ color: rgb(151, 81, 191);
/* oklch */ color: oklch(56.6% 0.174 311.5);
Tailwind
colors: {
  custom: {
    50: '#b885d3',
    500: '#9751bf',
    950: '#000000',
  },
}
SCSS
$custom: #9751bf;
$custom-light: #b885d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9751bf",
  "rgb": {
    "r": 151,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 278.182,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56586,
    "c": 0.17351,
    "h": 311.5
  },
  "luminance": 0.16226
}

Semantic roles & 50–950 ramp

primary
#9751BF
secondary
#AFCE9E
accent
#D65282
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9751BF

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

Preview Lab → · Contrast checker → · Palette generator →

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