#9756E4#9756E4

#9756E4 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.7% C 0.207 H 301.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9756E4
RGBrgb(151, 86, 228)
HSLhsl(267, 72%, 62%)
HSVhsv(267, 62%, 89%)
CMYKcmyk(33.8%, 62.3%, 0%, 10.6%)
CIE-LABlab(50.49, 54.16, -62.32)
CIE-LCHlch(50.49, 82.57, 310.99°)
OKLaboklab(59.66% 0.1081 -0.177)
OKLCHoklch(59.66% 0.207 301.4)
XYZxyz(30.0906, 18.8362, 75.4342)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9756E4 #A3E456
analogous
#565CE4 #9756E4 #DE56E4
triadic
#9756E4 #E49756 #56E497
tetradic
#9756E4 #E4565C #A3E456 #56E4DE
square
#9756E4 #E4565C #A3E456 #56E4DE
split-complementary
#9756E4 #E4DE56 #5CE456
monochromatic
#5A1AA5 #7723DA #9756E4 #B78BEC #D8C0F5

Accessibility & contrast

On white

4.41
#9756E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#9756E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9756E4
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9756E4#FFFFFF#000000##000000
##9756E41.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#2377E1
Tritanopia (blue-blind)
#877595
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9756e4;
/* rgb */ color: rgb(151, 86, 228);
/* oklch */ color: oklch(59.7% 0.207 301.4);
Tailwind
colors: {
  custom: {
    50: '#ba89ed',
    500: '#9756e4',
    950: '#000000',
  },
}
SCSS
$custom: #9756e4;
$custom-light: #ba89ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9756e4",
  "rgb": {
    "r": 151,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 267.465,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59662,
    "c": 0.20739,
    "h": 301.4
  },
  "luminance": 0.18836
}

Semantic roles & 50–950 ramp

primary
#9756E4
secondary
#CDE5B0
accent
#D5117B
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9756E4

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

Preview Lab → · Contrast checker → · Palette generator →

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