#9751C8#9751C8

#9751C8 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.1% C 0.183 H 308.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9751C8
RGBrgb(151, 81, 200)
HSLhsl(275, 52%, 55%)
HSVhsv(275, 60%, 78%)
CMYKcmyk(24.5%, 59.5%, 0%, 21.6%)
CIE-LABlab(47.80, 50.12, -50.69)
CIE-LCHlch(47.80, 71.29, 314.68°)
OKLaboklab(57.14% 0.115 -0.1428)
OKLCHoklch(57.14% 0.183 308.9)
XYZxyz(26.1282, 16.6347, 56.4668)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9751C8 #82C851
analogous
#5B51C8 #9751C8 #C851BE
triadic
#9751C8 #C89751 #51C897
tetradic
#9751C8 #C85B51 #82C851 #51BEC8
square
#9751C8 #C85B51 #82C851 #51BEC8
split-complementary
#9751C8 #BEC851 #51C85B
monochromatic
#572679 #7835A7 #9751C8 #B380D7 #CFAEE5

Accessibility & contrast

On white

4.85
#9751C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#9751C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9751C8
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9751C8#FFFFFF#000000##FFFFFF
##9751C81.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216ECC
Deuteranopia (green-blind)
#4172C5
Tritanopia (blue-blind)
#906885
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9751c8;
/* rgb */ color: rgb(151, 81, 200);
/* oklch */ color: oklch(57.1% 0.183 308.9);
Tailwind
colors: {
  custom: {
    50: '#b985d9',
    500: '#9751c8',
    950: '#000000',
  },
}
SCSS
$custom: #9751c8;
$custom-light: #b985d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9751c8",
  "rgb": {
    "r": 151,
    "g": 81,
    "b": 200
  },
  "hsl": {
    "h": 275.294,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5714,
    "c": 0.18336,
    "h": 308.9
  },
  "luminance": 0.16634
}

Semantic roles & 50–950 ramp

primary
#9751C8
secondary
#B6D3A1
accent
#DB4C87
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9751C8

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

Preview Lab → · Contrast checker → · Palette generator →

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