#9760BA#9760BA

#9760BA is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.6% C 0.144 H 310.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9760BA
RGBrgb(151, 96, 186)
HSLhsl(277, 39%, 55%)
HSVhsv(277, 48%, 73%)
CMYKcmyk(18.8%, 48.4%, 0%, 27.1%)
CIE-LABlab(50.09, 38.92, -38.96)
CIE-LCHlch(50.09, 55.07, 314.97°)
OKLaboklab(58.58% 0.094 -0.1086)
OKLCHoklch(58.58% 0.144 310.9)
XYZxyz(25.8067, 18.4907, 48.6544)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9760BA #83BA60
analogous
#6A60BA #9760BA #BA60B0
triadic
#9760BA #BA9760 #60BA97
tetradic
#9760BA #BA6A60 #83BA60 #60B0BA
square
#9760BA #BA6A60 #83BA60 #60B0BA
split-complementary
#9760BA #B0BA60 #60BA6A
monochromatic
#57306F #78439A #9760BA #B38BCD #CFB5DF

Accessibility & contrast

On white

4.47
#9760BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#9760BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9760BA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9760BA#FFFFFF#000000##000000
##9760BA1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B74BD
Deuteranopia (green-blind)
#5A78B8
Tritanopia (blue-blind)
#936E84
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9760ba;
/* rgb */ color: rgb(151, 96, 186);
/* oklch */ color: oklch(58.6% 0.144 310.9);
Tailwind
colors: {
  custom: {
    50: '#b78fcf',
    500: '#9760ba',
    950: '#000000',
  },
}
SCSS
$custom: #9760ba;
$custom-light: #b78fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9760ba",
  "rgb": {
    "r": 151,
    "g": 96,
    "b": 186
  },
  "hsl": {
    "h": 276.667,
    "s": 39.474,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58577,
    "c": 0.14367,
    "h": 310.9
  },
  "luminance": 0.1849
}

Semantic roles & 50–950 ramp

primary
#9760BA
secondary
#B7CEA8
accent
#CF5887
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #9760BA

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

Preview Lab → · Contrast checker → · Palette generator →

#9760BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva