#9756CC#9756CC

#9756CC is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.1% C 0.180 H 307.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9756CC
RGBrgb(151, 86, 204)
HSLhsl(273, 54%, 57%)
HSVhsv(273, 58%, 80%)
CMYKcmyk(26%, 57.8%, 0%, 20%)
CIE-LABlab(49.00, 48.46, -51.06)
CIE-LCHlch(49.00, 70.40, 313.50°)
OKLaboklab(58.1% 0.1088 -0.1439)
OKLCHoklch(58.1% 0.18 307.1)
XYZxyz(26.9871, 17.5948, 59.0895)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9756CC #8BCC56
analogous
#5C56CC #9756CC #CC56C6
triadic
#9756CC #CC9756 #56CC97
tetradic
#9756CC #CC5C56 #8BCC56 #56C6CC
square
#9756CC #CC5C56 #8BCC56 #56C6CC
split-complementary
#9756CC #C6CC56 #56CC5C
monochromatic
#582781 #7935B0 #9756CC #B485DA #D1B4E8

Accessibility & contrast

On white

4.65
#9756CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#9756CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9756CC
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9756CC#FFFFFF#000000##FFFFFF
##9756CC1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2872D0
Deuteranopia (green-blind)
#4375C9
Tritanopia (blue-blind)
#8F6D89
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9756cc;
/* rgb */ color: rgb(151, 86, 204);
/* oklch */ color: oklch(58.1% 0.180 307.1);
Tailwind
colors: {
  custom: {
    50: '#b988dc',
    500: '#9756cc',
    950: '#000000',
  },
}
SCSS
$custom: #9756cc;
$custom-light: #b988dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9756cc",
  "rgb": {
    "r": 151,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 273.051,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58096,
    "c": 0.18039,
    "h": 307.1
  },
  "luminance": 0.17595
}

Semantic roles & 50–950 ramp

primary
#9756CC
secondary
#BCD7A7
accent
#DD4B8C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9756CC

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

Preview Lab → · Contrast checker → · Palette generator →

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