#9756F5#9756F5

#9756F5 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.9% C 0.226 H 298.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9756F5
RGBrgb(151, 86, 245)
HSLhsl(265, 89%, 65%)
HSVhsv(265, 65%, 96%)
CMYKcmyk(38.4%, 64.9%, 0%, 3.9%)
CIE-LABlab(51.64, 58.32, -70.01)
CIE-LCHlch(51.64, 91.12, 309.80°)
OKLaboklab(60.85% 0.1067 -0.1996)
OKLCHoklch(60.85% 0.226 298.1)
XYZxyz(32.5675, 19.8270, 88.4797)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9756F5 #B4F556
analogous
#5665F5 #9756F5 #E656F5
triadic
#9756F5 #F59756 #56F597
tetradic
#9756F5 #F55665 #B4F556 #56F5E6
square
#9756F5 #F55665 #B4F556 #56F5E6
split-complementary
#9756F5 #F5E656 #65F556
monochromatic
#570CC5 #731CF2 #9756F5 #BB90F8 #DECAFC

Accessibility & contrast

On white

4.23
#9756F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#9756F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9756F5
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9756F5#FFFFFF#000000##000000
##9756F51.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFA
Deuteranopia (green-blind)
#0079F2
Tritanopia (blue-blind)
#817B9E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9756f5;
/* rgb */ color: rgb(151, 86, 245);
/* oklch */ color: oklch(60.9% 0.226 298.1);
Tailwind
colors: {
  custom: {
    50: '#bc89f9',
    500: '#9756f5',
    950: '#000000',
  },
}
SCSS
$custom: #9756f5;
$custom-light: #bc89f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9756f5",
  "rgb": {
    "r": 151,
    "g": 86,
    "b": 245
  },
  "hsl": {
    "h": 264.528,
    "s": 88.827,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60852,
    "c": 0.22628,
    "h": 298.1
  },
  "luminance": 0.19827
}

Semantic roles & 50–950 ramp

primary
#9756F5
secondary
#D8EFB8
accent
#E50088
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9756F5

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

Preview Lab → · Contrast checker → · Palette generator →

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