#9751CD#9751CD

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

Color values

HEX#9751CD
RGBrgb(151, 81, 205)
HSLhsl(274, 55%, 56%)
HSVhsv(274, 60%, 80%)
CMYKcmyk(26.3%, 60.5%, 0%, 19.6%)
CIE-LABlab(48.10, 51.26, -53.08)
CIE-LCHlch(48.10, 73.80, 314.00°)
OKLaboklab(57.46% 0.115 -0.1498)
OKLCHoklch(57.46% 0.189 307.5)
XYZxyz(26.7221, 16.8723, 59.5947)
Luminance0.1687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9751CD #87CD51
analogous
#5951CD #9751CD #CD51C5
triadic
#9751CD #CD9751 #51CD97
tetradic
#9751CD #CD5951 #87CD51 #51C5CD
square
#9751CD #CD5951 #87CD51 #51C5CD
split-complementary
#9751CD #C5CD51 #51CD59
monochromatic
#58257F #7832AF #9751CD #B381DB #D0B0E8

Accessibility & contrast

On white

4.80
#9751CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#9751CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9751CD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9751CD#FFFFFF#000000##FFFFFF
##9751CD1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1770D1
Deuteranopia (green-blind)
#3C73CA
Tritanopia (blue-blind)
#8F6987
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9751cd;
/* rgb */ color: rgb(151, 81, 205);
/* oklch */ color: oklch(57.5% 0.189 307.5);
Tailwind
colors: {
  custom: {
    50: '#b985dd',
    500: '#9751cd',
    950: '#000000',
  },
}
SCSS
$custom: #9751cd;
$custom-light: #b985dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9751cd",
  "rgb": {
    "r": 151,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 273.871,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57458,
    "c": 0.18885,
    "h": 307.5
  },
  "luminance": 0.16872
}

Semantic roles & 50–950 ramp

primary
#9751CD
secondary
#BAD7A3
accent
#DF498A
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9751CD

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

Preview Lab → · Contrast checker → · Palette generator →

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