#9756DB#9756DB

#9756DB is a mid, vivid violet. Relative luminance 0.183; OKLCH L 59.1% C 0.197 H 303.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9756DB
RGBrgb(151, 86, 219)
HSLhsl(269, 65%, 60%)
HSVhsv(269, 61%, 86%)
CMYKcmyk(31.1%, 60.7%, 0%, 14.1%)
CIE-LABlab(49.92, 51.99, -58.16)
CIE-LCHlch(49.92, 78.01, 311.80°)
OKLaboklab(59.06% 0.1086 -0.1647)
OKLCHoklch(59.06% 0.197 303.4)
XYZxyz(28.8736, 18.3494, 69.0248)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9756DB #9ADB56
analogous
#5658DB #9756DB #D956DB
triadic
#9756DB #DB9756 #56DB97
tetradic
#9756DB #DB5658 #9ADB56 #56DBD9
square
#9756DB #DB5658 #9ADB56 #56DBD9
split-complementary
#9756DB #DBD956 #58DB56
monochromatic
#5A2097 #782BC9 #9756DB #B688E6 #D5BBF0

Accessibility & contrast

On white

4.50
#9756DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#9756DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9756DB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9756DB#FFFFFF#000000##000000
##9756DB1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#3277D8
Tritanopia (blue-blind)
#8A7291
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9756db;
/* rgb */ color: rgb(151, 86, 219);
/* oklch */ color: oklch(59.1% 0.197 303.4);
Tailwind
colors: {
  custom: {
    50: '#ba89e7',
    500: '#9756db',
    950: '#000000',
  },
}
SCSS
$custom: #9756db;
$custom-light: #ba89e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9756db",
  "rgb": {
    "r": 151,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 269.323,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59058,
    "c": 0.19729,
    "h": 303.4
  },
  "luminance": 0.18349
}

Semantic roles & 50–950 ramp

primary
#9756DB
secondary
#C7E0AD
accent
#E84096
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9756DB

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

Preview Lab → · Contrast checker → · Palette generator →

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