#9757F2#9757F2

#9757F2 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.8% C 0.222 H 298.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9757F2
RGBrgb(151, 87, 242)
HSLhsl(265, 86%, 65%)
HSVhsv(265, 64%, 95%)
CMYKcmyk(37.6%, 64%, 0%, 5.1%)
CIE-LABlab(51.62, 57.08, -68.37)
CIE-LCHlch(51.62, 89.07, 309.86°)
OKLaboklab(60.77% 0.1059 -0.1947)
OKLCHoklch(60.77% 0.222 298.5)
XYZxyz(32.1937, 19.8061, 86.1140)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9757F2 #B2F257
analogous
#5765F2 #9757F2 #E457F2
triadic
#9757F2 #F29757 #57F297
tetradic
#9757F2 #F25765 #B2F257 #57F2E4
square
#9757F2 #F25765 #B2F257 #57F2E4
split-complementary
#9757F2 #F2E457 #65F257
monochromatic
#580FC0 #741EEE #9757F2 #BA90F6 #DDC9FB

Accessibility & contrast

On white

4.23
#9757F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#9757F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9757F2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9757F2#FFFFFF#000000##000000
##9757F21.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF7
Deuteranopia (green-blind)
#0079EF
Tritanopia (blue-blind)
#827A9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9757f2;
/* rgb */ color: rgb(151, 87, 242);
/* oklch */ color: oklch(60.8% 0.222 298.5);
Tailwind
colors: {
  custom: {
    50: '#bb8af7',
    500: '#9757f2',
    950: '#000000',
  },
}
SCSS
$custom: #9757f2;
$custom-light: #bb8af7;
$custom-dark: #000000;
JSON
{
  "hex": "#9757f2",
  "rgb": {
    "r": 151,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 264.774,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6077,
    "c": 0.22169,
    "h": 298.5
  },
  "luminance": 0.19807
}

Semantic roles & 50–950 ramp

primary
#9757F2
secondary
#D7EDB8
accent
#E20386
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9757F2

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

Preview Lab → · Contrast checker → · Palette generator →

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