#9756DC#9756DC

#9756DC is a mid, vivid violet. Relative luminance 0.184; OKLCH L 59.1% C 0.198 H 303.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9756DC
RGBrgb(151, 86, 220)
HSLhsl(269, 66%, 60%)
HSVhsv(269, 61%, 86%)
CMYKcmyk(31.4%, 60.9%, 0%, 13.7%)
CIE-LABlab(49.98, 52.23, -58.62)
CIE-LCHlch(49.98, 78.52, 311.70°)
OKLaboklab(59.12% 0.1086 -0.1661)
OKLCHoklch(59.12% 0.198 303.2)
XYZxyz(29.0056, 18.4022, 69.7202)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9756DC #9BDC56
analogous
#5658DC #9756DC #DA56DC
triadic
#9756DC #DC9756 #56DC97
tetradic
#9756DC #DC5658 #9BDC56 #56DCDA
square
#9756DC #DC5658 #9BDC56 #56DCDA
split-complementary
#9756DC #DCDA56 #58DC56
monochromatic
#5A2098 #782ACB #9756DC #B689E6 #D5BBF1

Accessibility & contrast

On white

4.49
#9756DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9756DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9756DC
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9756DC#FFFFFF#000000##000000
##9756DC1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E0
Deuteranopia (green-blind)
#3177D9
Tritanopia (blue-blind)
#8A7291
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9756dc;
/* rgb */ color: rgb(151, 86, 220);
/* oklch */ color: oklch(59.1% 0.198 303.2);
Tailwind
colors: {
  custom: {
    50: '#ba89e8',
    500: '#9756dc',
    950: '#000000',
  },
}
SCSS
$custom: #9756dc;
$custom-light: #ba89e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9756dc",
  "rgb": {
    "r": 151,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 269.104,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.59124,
    "c": 0.19842,
    "h": 303.2
  },
  "luminance": 0.18402
}

Semantic roles & 50–950 ramp

primary
#9756DC
secondary
#C8E1AD
accent
#E93F96
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9756DC

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

Preview Lab → · Contrast checker → · Palette generator →

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