#9757E9#9757E9

#9757E9 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.1% C 0.212 H 300.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#9757E9
RGBrgb(151, 87, 233)
HSLhsl(266, 77%, 63%)
HSVhsv(266, 63%, 91%)
CMYKcmyk(35.2%, 62.7%, 0%, 8.6%)
CIE-LABlab(51.01, 54.87, -64.31)
CIE-LCHlch(51.01, 84.53, 310.47°)
OKLaboklab(60.14% 0.1067 -0.1828)
OKLCHoklch(60.14% 0.212 300.3)
XYZxyz(30.8751, 19.2787, 79.1695)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9757E9 #A9E957
analogous
#5760E9 #9757E9 #E057E9
triadic
#9757E9 #E99757 #57E997
tetradic
#9757E9 #E95760 #A9E957 #57E9E0
square
#9757E9 #E95760 #A9E957 #57E9E0
split-complementary
#9757E9 #E9E057 #60E957
monochromatic
#5917AF #7521E2 #9757E9 #B88DF0 #DAC3F7

Accessibility & contrast

On white

4.32
#9757E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#9757E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9757E9
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9757E9#FFFFFF#000000##000000
##9757E91.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EE
Deuteranopia (green-blind)
#1978E6
Tritanopia (blue-blind)
#857798
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9757e9;
/* rgb */ color: rgb(151, 87, 233);
/* oklch */ color: oklch(60.1% 0.212 300.3);
Tailwind
colors: {
  custom: {
    50: '#bb8af1',
    500: '#9757e9',
    950: '#000000',
  },
}
SCSS
$custom: #9757e9;
$custom-light: #bb8af1;
$custom-dark: #000000;
JSON
{
  "hex": "#9757e9",
  "rgb": {
    "r": 151,
    "g": 87,
    "b": 233
  },
  "hsl": {
    "h": 266.301,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6014,
    "c": 0.21164,
    "h": 300.3
  },
  "luminance": 0.19279
}

Semantic roles & 50–950 ramp

primary
#9757E9
secondary
#D1E8B3
accent
#D90C7F
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9757E9

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

Preview Lab → · Contrast checker → · Palette generator →

#9757E9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva