#9756EB#9756EB

#9756EB is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.1% C 0.215 H 300.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9756EB
RGBrgb(151, 86, 235)
HSLhsl(266, 79%, 63%)
HSVhsv(266, 63%, 92%)
CMYKcmyk(35.7%, 63.4%, 0%, 7.8%)
CIE-LABlab(50.96, 55.86, -65.52)
CIE-LCHlch(50.96, 86.10, 310.45°)
OKLaboklab(60.14% 0.1076 -0.1863)
OKLCHoklch(60.14% 0.215 300)
XYZxyz(31.0820, 19.2328, 80.6559)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9756EB #AAEB56
analogous
#5660EB #9756EB #E156EB
triadic
#9756EB #EB9756 #56EB97
tetradic
#9756EB #EB5660 #AAEB56 #56EBE1
square
#9756EB #EB5660 #AAEB56 #56EBE1
split-complementary
#9756EB #EBE156 #60EB56
monochromatic
#5915B2 #751FE5 #9756EB #B98DF1 #DAC3F8

Accessibility & contrast

On white

4.33
#9756EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#9756EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9756EB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9756EB#FFFFFF#000000##000000
##9756EB1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#0E78E8
Tritanopia (blue-blind)
#857799
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9756eb;
/* rgb */ color: rgb(151, 86, 235);
/* oklch */ color: oklch(60.1% 0.215 300.0);
Tailwind
colors: {
  custom: {
    50: '#bb89f2',
    500: '#9756eb',
    950: '#000000',
  },
}
SCSS
$custom: #9756eb;
$custom-light: #bb89f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9756eb",
  "rgb": {
    "r": 151,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 266.174,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60144,
    "c": 0.21519,
    "h": 300
  },
  "luminance": 0.19233
}

Semantic roles & 50–950 ramp

primary
#9756EB
secondary
#D2E9B4
accent
#DB0A80
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9756EB

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

Preview Lab → · Contrast checker → · Palette generator →

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