#9756E7#9756E7

#9756E7 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.9% C 0.211 H 300.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9756E7
RGBrgb(151, 86, 231)
HSLhsl(267, 75%, 62%)
HSVhsv(267, 63%, 91%)
CMYKcmyk(34.6%, 62.8%, 0%, 9.4%)
CIE-LABlab(50.69, 54.89, -63.70)
CIE-LCHlch(50.69, 84.08, 310.75°)
OKLaboklab(59.87% 0.1079 -0.181)
OKLCHoklch(59.87% 0.211 300.8)
XYZxyz(30.5106, 19.0042, 77.6466)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9756E7 #A6E756
analogous
#565DE7 #9756E7 #E056E7
triadic
#9756E7 #E79756 #56E797
tetradic
#9756E7 #E7565D #A6E756 #56E7E0
square
#9756E7 #E7565D #A6E756 #56E7E0
split-complementary
#9756E7 #E7E056 #5DE756
monochromatic
#5A18AA #7620DF #9756E7 #B88CEF #D9C1F6

Accessibility & contrast

On white

4.37
#9756E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#9756E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9756E7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9756E7#FFFFFF#000000##000000
##9756E71.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#1C78E4
Tritanopia (blue-blind)
#867697
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9756e7;
/* rgb */ color: rgb(151, 86, 231);
/* oklch */ color: oklch(59.9% 0.211 300.8);
Tailwind
colors: {
  custom: {
    50: '#bb89ef',
    500: '#9756e7',
    950: '#000000',
  },
}
SCSS
$custom: #9756e7;
$custom-light: #bb89ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9756e7",
  "rgb": {
    "r": 151,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 266.897,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59867,
    "c": 0.21073,
    "h": 300.8
  },
  "luminance": 0.19004
}

Semantic roles & 50–950 ramp

primary
#9756E7
secondary
#CFE7B2
accent
#D70E7D
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9756E7

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

Preview Lab → · Contrast checker → · Palette generator →

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