#9751CB#9751CB

#9751CB is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.3% C 0.187 H 308.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9751CB
RGBrgb(151, 81, 203)
HSLhsl(274, 54%, 56%)
HSVhsv(274, 60%, 80%)
CMYKcmyk(25.6%, 60.1%, 0%, 20.4%)
CIE-LABlab(47.98, 50.81, -52.13)
CIE-LCHlch(47.98, 72.79, 314.26°)
OKLaboklab(57.33% 0.115 -0.147)
OKLCHoklch(57.33% 0.187 308)
XYZxyz(26.4822, 16.7763, 58.3314)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9751CB #85CB51
analogous
#5A51CB #9751CB #CB51C2
triadic
#9751CB #CB9751 #51CB97
tetradic
#9751CB #CB5A51 #85CB51 #51C2CB
square
#9751CB #CB5A51 #85CB51 #51C2CB
split-complementary
#9751CB #C2CB51 #51CB5A
monochromatic
#57257C #7833AC #9751CB #B380D9 #CFAFE7

Accessibility & contrast

On white

4.82
#9751CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#9751CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9751CB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9751CB#FFFFFF#000000##FFFFFF
##9751CB1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6FCF
Deuteranopia (green-blind)
#3E73C8
Tritanopia (blue-blind)
#8F6986
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9751cb;
/* rgb */ color: rgb(151, 81, 203);
/* oklch */ color: oklch(57.3% 0.187 308.0);
Tailwind
colors: {
  custom: {
    50: '#b985db',
    500: '#9751cb',
    950: '#000000',
  },
}
SCSS
$custom: #9751cb;
$custom-light: #b985db;
$custom-dark: #000000;
JSON
{
  "hex": "#9751cb",
  "rgb": {
    "r": 151,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 274.426,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5733,
    "c": 0.18665,
    "h": 308
  },
  "luminance": 0.16776
}

Semantic roles & 50–950 ramp

primary
#9751CB
secondary
#B8D5A3
accent
#DD4A89
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9751CB

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

Preview Lab → · Contrast checker → · Palette generator →

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