#9756DA#9756DA

#9756DA is a mid, vivid violet. Relative luminance 0.183; OKLCH L 59.0% C 0.196 H 303.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9756DA
RGBrgb(151, 86, 218)
HSLhsl(270, 64%, 60%)
HSVhsv(270, 61%, 85%)
CMYKcmyk(30.7%, 60.6%, 0%, 14.5%)
CIE-LABlab(49.85, 51.75, -57.69)
CIE-LCHlch(49.85, 77.50, 311.89°)
OKLaboklab(58.99% 0.1086 -0.1633)
OKLCHoklch(58.99% 0.196 303.6)
XYZxyz(28.7423, 18.2969, 68.3335)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9756DA #99DA56
analogous
#5657DA #9756DA #D956DA
triadic
#9756DA #DA9756 #56DA97
tetradic
#9756DA #DA5657 #99DA56 #56DAD9
square
#9756DA #DA5657 #99DA56 #56DAD9
split-complementary
#9756DA #DAD956 #57DA56
monochromatic
#5A2195 #782CC7 #9756DA #B688E5 #D5BAF0

Accessibility & contrast

On white

4.51
#9756DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#9756DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9756DA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9756DA#FFFFFF#000000##000000
##9756DA1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0575DE
Deuteranopia (green-blind)
#3476D7
Tritanopia (blue-blind)
#8A7190
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9756da;
/* rgb */ color: rgb(151, 86, 218);
/* oklch */ color: oklch(59.0% 0.196 303.6);
Tailwind
colors: {
  custom: {
    50: '#ba89e6',
    500: '#9756da',
    950: '#000000',
  },
}
SCSS
$custom: #9756da;
$custom-light: #ba89e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9756da",
  "rgb": {
    "r": 151,
    "g": 86,
    "b": 218
  },
  "hsl": {
    "h": 269.545,
    "s": 64.078,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58992,
    "c": 0.19617,
    "h": 303.6
  },
  "luminance": 0.18297
}

Semantic roles & 50–950 ramp

primary
#9756DA
secondary
#C6E0AC
accent
#E74195
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9756DA

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

Preview Lab → · Contrast checker → · Palette generator →

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