#9756CB#9756CB

#9756CB is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.0% C 0.179 H 307.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9756CB
RGBrgb(151, 86, 203)
HSLhsl(273, 53%, 57%)
HSVhsv(273, 58%, 80%)
CMYKcmyk(25.6%, 57.6%, 0%, 20.4%)
CIE-LABlab(48.94, 48.22, -50.58)
CIE-LCHlch(48.94, 69.89, 313.63°)
OKLaboklab(58.03% 0.1088 -0.1425)
OKLCHoklch(58.03% 0.179 307.4)
XYZxyz(26.8676, 17.5470, 58.4598)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9756CB #8ACB56
analogous
#5D56CB #9756CB #CB56C5
triadic
#9756CB #CB9756 #56CB97
tetradic
#9756CB #CB5D56 #8ACB56 #56C5CB
square
#9756CB #CB5D56 #8ACB56 #56C5CB
split-complementary
#9756CB #C5CB56 #56CB5D
monochromatic
#58277F #7936AE #9756CB #B485D9 #D1B4E8

Accessibility & contrast

On white

4.66
#9756CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#9756CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9756CB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9756CB#FFFFFF#000000##FFFFFF
##9756CB1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A72CF
Deuteranopia (green-blind)
#4475C8
Tritanopia (blue-blind)
#8F6C88
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9756cb;
/* rgb */ color: rgb(151, 86, 203);
/* oklch */ color: oklch(58.0% 0.179 307.4);
Tailwind
colors: {
  custom: {
    50: '#b988db',
    500: '#9756cb',
    950: '#000000',
  },
}
SCSS
$custom: #9756cb;
$custom-light: #b988db;
$custom-dark: #000000;
JSON
{
  "hex": "#9756cb",
  "rgb": {
    "r": 151,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 273.333,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58034,
    "c": 0.17926,
    "h": 307.4
  },
  "luminance": 0.17547
}

Semantic roles & 50–950 ramp

primary
#9756CB
secondary
#BCD6A6
accent
#DC4B8C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9756CB

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

Preview Lab → · Contrast checker → · Palette generator →

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