#9756DD#9756DD

#9756DD is a mid, vivid violet. Relative luminance 0.185; OKLCH L 59.2% C 0.200 H 302.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9756DD
RGBrgb(151, 86, 221)
HSLhsl(269, 67%, 60%)
HSVhsv(269, 61%, 87%)
CMYKcmyk(31.7%, 61.1%, 0%, 13.3%)
CIE-LABlab(50.04, 52.47, -59.09)
CIE-LCHlch(50.04, 79.02, 311.60°)
OKLaboklab(59.19% 0.1085 -0.1674)
OKLCHoklch(59.19% 0.2 302.9)
XYZxyz(29.1384, 18.4553, 70.4197)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9756DD #9CDD56
analogous
#5658DD #9756DD #DA56DD
triadic
#9756DD #DD9756 #56DD97
tetradic
#9756DD #DD5658 #9CDD56 #56DDDA
square
#9756DD #DD5658 #9CDD56 #56DDDA
split-complementary
#9756DD #DDDA56 #58DD56
monochromatic
#5A1F9A #7829CD #9756DD #B689E7 #D6BCF2

Accessibility & contrast

On white

4.48
#9756DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#9756DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9756DD
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9756DD#FFFFFF#000000##000000
##9756DD1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E1
Deuteranopia (green-blind)
#2F77DA
Tritanopia (blue-blind)
#897292
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9756dd;
/* rgb */ color: rgb(151, 86, 221);
/* oklch */ color: oklch(59.2% 0.200 302.9);
Tailwind
colors: {
  custom: {
    50: '#ba89e8',
    500: '#9756dd',
    950: '#000000',
  },
}
SCSS
$custom: #9756dd;
$custom-light: #ba89e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9756dd",
  "rgb": {
    "r": 151,
    "g": 86,
    "b": 221
  },
  "hsl": {
    "h": 268.889,
    "s": 66.502,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59191,
    "c": 0.19953,
    "h": 302.9
  },
  "luminance": 0.18455
}

Semantic roles & 50–950 ramp

primary
#9756DD
secondary
#C8E1AE
accent
#CE1776
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9756DD

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

Preview Lab → · Contrast checker → · Palette generator →

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