#9756ED#9756ED

#9756ED is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.3% C 0.217 H 299.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9756ED
RGBrgb(151, 86, 237)
HSLhsl(266, 81%, 63%)
HSVhsv(266, 64%, 93%)
CMYKcmyk(36.3%, 63.7%, 0%, 7.1%)
CIE-LABlab(51.09, 56.35, -66.42)
CIE-LCHlch(51.09, 87.11, 310.31°)
OKLaboklab(60.28% 0.1075 -0.189)
OKLCHoklch(60.28% 0.217 299.6)
XYZxyz(31.3726, 19.3490, 82.1862)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9756ED #ACED56
analogous
#5660ED #9756ED #E356ED
triadic
#9756ED #ED9756 #56ED97
tetradic
#9756ED #ED5660 #ACED56 #56EDE3
square
#9756ED #ED5660 #ACED56 #56EDE3
split-complementary
#9756ED #EDE356 #60ED56
monochromatic
#5913B5 #751FE7 #9756ED #B98DF3 #DBC5F9

Accessibility & contrast

On white

4.31
#9756ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#9756ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9756ED
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9756ED#FFFFFF#000000##000000
##9756ED1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F2
Deuteranopia (green-blind)
#0278EA
Tritanopia (blue-blind)
#84789A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9756ed;
/* rgb */ color: rgb(151, 86, 237);
/* oklch */ color: oklch(60.3% 0.217 299.6);
Tailwind
colors: {
  custom: {
    50: '#bb89f4',
    500: '#9756ed',
    950: '#000000',
  },
}
SCSS
$custom: #9756ed;
$custom-light: #bb89f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9756ed",
  "rgb": {
    "r": 151,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 265.828,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60284,
    "c": 0.21742,
    "h": 299.6
  },
  "luminance": 0.19349
}

Semantic roles & 50–950 ramp

primary
#9756ED
secondary
#D3EAB4
accent
#DD0882
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #9756ED

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

Preview Lab → · Contrast checker → · Palette generator →

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