#9751CE#9751CE

#9751CE is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.5% C 0.190 H 307.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9751CE
RGBrgb(151, 81, 206)
HSLhsl(274, 56%, 56%)
HSVhsv(274, 61%, 81%)
CMYKcmyk(26.7%, 60.7%, 0%, 19.2%)
CIE-LABlab(48.16, 51.49, -53.56)
CIE-LCHlch(48.16, 74.30, 313.87°)
OKLaboklab(57.52% 0.115 -0.1512)
OKLCHoklch(57.52% 0.19 307.2)
XYZxyz(26.8432, 16.9207, 60.2325)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9751CE #88CE51
analogous
#5951CE #9751CE #CE51C7
triadic
#9751CE #CE9751 #51CE97
tetradic
#9751CE #CE5951 #88CE51 #51C7CE
square
#9751CE #CE5951 #88CE51 #51C7CE
split-complementary
#9751CE #C7CE51 #51CE59
monochromatic
#582480 #7832B0 #9751CE #B481DB #D0B1E9

Accessibility & contrast

On white

4.79
#9751CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9751CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9751CE
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9751CE#FFFFFF#000000##FFFFFF
##9751CE1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1570D2
Deuteranopia (green-blind)
#3B73CB
Tritanopia (blue-blind)
#8E6A88
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9751ce;
/* rgb */ color: rgb(151, 81, 206);
/* oklch */ color: oklch(57.5% 0.190 307.2);
Tailwind
colors: {
  custom: {
    50: '#b985de',
    500: '#9751ce',
    950: '#000000',
  },
}
SCSS
$custom: #9751ce;
$custom-light: #b985de;
$custom-dark: #000000;
JSON
{
  "hex": "#9751ce",
  "rgb": {
    "r": 151,
    "g": 81,
    "b": 206
  },
  "hsl": {
    "h": 273.6,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57522,
    "c": 0.18994,
    "h": 307.2
  },
  "luminance": 0.1692
}

Semantic roles & 50–950 ramp

primary
#9751CE
secondary
#BAD7A4
accent
#DF488B
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9751CE

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

Preview Lab → · Contrast checker → · Palette generator →

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