#9751CC#9751CC

#9751CC is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.4% C 0.188 H 307.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9751CC
RGBrgb(151, 81, 204)
HSLhsl(274, 55%, 56%)
HSVhsv(274, 60%, 80%)
CMYKcmyk(26%, 60.3%, 0%, 20%)
CIE-LABlab(48.04, 51.04, -52.61)
CIE-LCHlch(48.04, 73.29, 314.13°)
OKLaboklab(57.39% 0.115 -0.1484)
OKLCHoklch(57.39% 0.188 307.8)
XYZxyz(26.6018, 16.8242, 58.9610)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9751CC #86CC51
analogous
#5951CC #9751CC #CC51C4
triadic
#9751CC #CC9751 #51CC97
tetradic
#9751CC #CC5951 #86CC51 #51C4CC
square
#9751CC #CC5951 #86CC51 #51C4CC
split-complementary
#9751CC #C4CC51 #51CC59
monochromatic
#57257E #7833AD #9751CC #B380DA #D0B0E8

Accessibility & contrast

On white

4.81
#9751CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9751CC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9751CC#FFFFFF#000000##FFFFFF
##9751CC1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6FD0
Deuteranopia (green-blind)
#3D73C9
Tritanopia (blue-blind)
#8F6987
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9751cc;
/* rgb */ color: rgb(151, 81, 204);
/* oklch */ color: oklch(57.4% 0.188 307.8);
Tailwind
colors: {
  custom: {
    50: '#b985dc',
    500: '#9751cc',
    950: '#000000',
  },
}
SCSS
$custom: #9751cc;
$custom-light: #b985dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9751cc",
  "rgb": {
    "r": 151,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 274.146,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57394,
    "c": 0.18775,
    "h": 307.8
  },
  "luminance": 0.16824
}

Semantic roles & 50–950 ramp

primary
#9751CC
secondary
#B9D6A3
accent
#DE4A8A
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9751CC

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

Preview Lab → · Contrast checker → · Palette generator →

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