#9751D2#9751D2

#9751D2 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.8% C 0.194 H 306.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9751D2
RGBrgb(151, 81, 210)
HSLhsl(273, 59%, 57%)
HSVhsv(273, 61%, 82%)
CMYKcmyk(28.1%, 61.4%, 0%, 17.6%)
CIE-LABlab(48.41, 52.42, -55.45)
CIE-LCHlch(48.41, 76.31, 313.39°)
OKLaboklab(57.78% 0.1149 -0.1568)
OKLCHoklch(57.78% 0.194 306.2)
XYZxyz(27.3353, 17.1176, 62.8242)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9751D2 #8CD251
analogous
#5751D2 #9751D2 #D251CD
triadic
#9751D2 #D29751 #51D297
tetradic
#9751D2 #D25751 #8CD251 #51CDD2
square
#9751D2 #D25751 #8CD251 #51CDD2
split-complementary
#9751D2 #CDD251 #51D257
monochromatic
#592386 #792FB7 #9751D2 #B482DF #D1B2EB

Accessibility & contrast

On white

4.75
#9751D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9751D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9751D2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9751D2#FFFFFF#000000##FFFFFF
##9751D21.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0671D6
Deuteranopia (green-blind)
#3773CF
Tritanopia (blue-blind)
#8D6B8A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9751d2;
/* rgb */ color: rgb(151, 81, 210);
/* oklch */ color: oklch(57.8% 0.194 306.2);
Tailwind
colors: {
  custom: {
    50: '#b985e0',
    500: '#9751d2',
    950: '#000000',
  },
}
SCSS
$custom: #9751d2;
$custom-light: #b985e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9751d2",
  "rgb": {
    "r": 151,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 272.558,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57781,
    "c": 0.19433,
    "h": 306.2
  },
  "luminance": 0.17117
}

Semantic roles & 50–950 ramp

primary
#9751D2
secondary
#BDDAA5
accent
#E2468D
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9751D2

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

Preview Lab → · Contrast checker → · Palette generator →

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