#9756CD#9756CD

#9756CD is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.2% C 0.182 H 306.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9756CD
RGBrgb(151, 86, 205)
HSLhsl(273, 54%, 57%)
HSVhsv(273, 58%, 80%)
CMYKcmyk(26.3%, 58%, 0%, 19.6%)
CIE-LABlab(49.06, 48.69, -51.54)
CIE-LCHlch(49.06, 70.90, 313.37°)
OKLaboklab(58.16% 0.1088 -0.1453)
OKLCHoklch(58.16% 0.182 306.8)
XYZxyz(27.1074, 17.6429, 59.7232)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9756CD #8CCD56
analogous
#5C56CD #9756CD #CD56C8
triadic
#9756CD #CD9756 #56CD97
tetradic
#9756CD #CD5C56 #8CCD56 #56C8CD
square
#9756CD #CD5C56 #8CCD56 #56C8CD
split-complementary
#9756CD #C8CD56 #56CD5C
monochromatic
#592682 #7934B1 #9756CD #B485DB #D1B4E9

Accessibility & contrast

On white

4.64
#9756CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#9756CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9756CD
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9756CD#FFFFFF#000000##FFFFFF
##9756CD1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2772D1
Deuteranopia (green-blind)
#4275CA
Tritanopia (blue-blind)
#8E6D89
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9756cd;
/* rgb */ color: rgb(151, 86, 205);
/* oklch */ color: oklch(58.2% 0.182 306.8);
Tailwind
colors: {
  custom: {
    50: '#b988dd',
    500: '#9756cd',
    950: '#000000',
  },
}
SCSS
$custom: #9756cd;
$custom-light: #b988dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9756cd",
  "rgb": {
    "r": 151,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 272.773,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58159,
    "c": 0.18152,
    "h": 306.8
  },
  "luminance": 0.17643
}

Semantic roles & 50–950 ramp

primary
#9756CD
secondary
#BDD8A7
accent
#DE4A8D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9756CD

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

Preview Lab → · Contrast checker → · Palette generator →

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