#9756BF#9756BF

#9756BF is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.3% C 0.166 H 310.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9756BF
RGBrgb(151, 86, 191)
HSLhsl(277, 45%, 54%)
HSVhsv(277, 55%, 75%)
CMYKcmyk(20.9%, 55%, 0%, 25.1%)
CIE-LABlab(48.26, 45.48, -44.76)
CIE-LCHlch(48.26, 63.81, 315.46°)
OKLaboklab(57.31% 0.1083 -0.1255)
OKLCHoklch(57.31% 0.166 310.8)
XYZxyz(25.4925, 16.9970, 51.2179)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9756BF #7EBF56
analogous
#6356BF #9756BF #BF56B2
triadic
#9756BF #BF9756 #56BF97
tetradic
#9756BF #BF6356 #7EBF56 #56B2BF
square
#9756BF #BF6356 #7EBF56 #56B2BF
split-complementary
#9756BF #B2BF56 #56BF63
monochromatic
#562A70 #773B9D #9756BF #B282D0 #CEAFE1

Accessibility & contrast

On white

4.77
#9756BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9756BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9756BF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9756BF#FFFFFF#000000##FFFFFF
##9756BF1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376FC2
Deuteranopia (green-blind)
#4D74BC
Tritanopia (blue-blind)
#926882
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9756bf;
/* rgb */ color: rgb(151, 86, 191);
/* oklch */ color: oklch(57.3% 0.166 310.8);
Tailwind
colors: {
  custom: {
    50: '#b888d3',
    500: '#9756bf',
    950: '#000000',
  },
}
SCSS
$custom: #9756bf;
$custom-light: #b888d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9756bf",
  "rgb": {
    "r": 151,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 277.143,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5731,
    "c": 0.16574,
    "h": 310.8
  },
  "luminance": 0.16996
}

Semantic roles & 50–950 ramp

primary
#9756BF
secondary
#B3CFA2
accent
#D55384
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #9756BF

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

Preview Lab → · Contrast checker → · Palette generator →

#9756BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva