#9757E8#9757E8

#9757E8 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.1% C 0.211 H 300.5°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9757E8
RGBrgb(151, 87, 232)
HSLhsl(266, 76%, 63%)
HSVhsv(266, 63%, 91%)
CMYKcmyk(34.9%, 62.5%, 0%, 9%)
CIE-LABlab(50.95, 54.62, -63.85)
CIE-LCHlch(50.95, 84.03, 310.55°)
OKLaboklab(60.07% 0.1067 -0.1814)
OKLCHoklch(60.07% 0.211 300.5)
XYZxyz(30.7327, 19.2217, 78.4193)
Luminance0.1922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9757E8 #A8E857
analogous
#575FE8 #9757E8 #E057E8
triadic
#9757E8 #E89757 #57E897
tetradic
#9757E8 #E8575F #A8E857 #57E8E0
square
#9757E8 #E8575F #A8E857 #57E8E0
split-complementary
#9757E8 #E8E057 #5FE857
monochromatic
#5A18AD #7621E1 #9757E8 #B88DEF #DAC3F7

Accessibility & contrast

On white

4.33
#9757E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#9757E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9757E8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9757E8#FFFFFF#000000##000000
##9757E81.004.334.844.84
#FFFFFF4.331.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079ED
Deuteranopia (green-blind)
#1C78E5
Tritanopia (blue-blind)
#867798
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9757e8;
/* rgb */ color: rgb(151, 87, 232);
/* oklch */ color: oklch(60.1% 0.211 300.5);
Tailwind
colors: {
  custom: {
    50: '#bb8af0',
    500: '#9757e8',
    950: '#000000',
  },
}
SCSS
$custom: #9757e8;
$custom-light: #bb8af0;
$custom-dark: #000000;
JSON
{
  "hex": "#9757e8",
  "rgb": {
    "r": 151,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 266.483,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60071,
    "c": 0.21052,
    "h": 300.5
  },
  "luminance": 0.19222
}

Semantic roles & 50–950 ramp

primary
#9757E8
secondary
#D0E8B3
accent
#D80D7F
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9757E8

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

Preview Lab → · Contrast checker → · Palette generator →

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