#9751CA#9751CA

#9751CA is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.3% C 0.186 H 308.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9751CA
RGBrgb(151, 81, 202)
HSLhsl(275, 53%, 55%)
HSVhsv(275, 60%, 79%)
CMYKcmyk(25.2%, 59.9%, 0%, 20.8%)
CIE-LABlab(47.92, 50.58, -51.65)
CIE-LCHlch(47.92, 72.29, 314.40°)
OKLaboklab(57.27% 0.115 -0.1456)
OKLCHoklch(57.27% 0.186 308.3)
XYZxyz(26.3635, 16.7288, 57.7058)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9751CA #84CA51
analogous
#5A51CA #9751CA #CA51C0
triadic
#9751CA #CA9751 #51CA97
tetradic
#9751CA #CA5A51 #84CA51 #51C0CA
square
#9751CA #CA5A51 #84CA51 #51C0CA
split-complementary
#9751CA #C0CA51 #51CA5A
monochromatic
#57257B #7834AA #9751CA #B380D8 #CFAFE7

Accessibility & contrast

On white

4.83
#9751CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#9751CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9751CA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9751CA#FFFFFF#000000##FFFFFF
##9751CA1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6FCE
Deuteranopia (green-blind)
#3F73C7
Tritanopia (blue-blind)
#8F6886
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9751ca;
/* rgb */ color: rgb(151, 81, 202);
/* oklch */ color: oklch(57.3% 0.186 308.3);
Tailwind
colors: {
  custom: {
    50: '#b985db',
    500: '#9751ca',
    950: '#000000',
  },
}
SCSS
$custom: #9751ca;
$custom-light: #b985db;
$custom-dark: #000000;
JSON
{
  "hex": "#9751ca",
  "rgb": {
    "r": 151,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 274.711,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57266,
    "c": 0.18556,
    "h": 308.3
  },
  "luminance": 0.16728
}

Semantic roles & 50–950 ramp

primary
#9751CA
secondary
#B7D5A2
accent
#DD4B88
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9751CA

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

Preview Lab → · Contrast checker → · Palette generator →

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