#9757BC#9757BC

#9757BC is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.3% C 0.161 H 311.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9757BC
RGBrgb(151, 87, 188)
HSLhsl(278, 43%, 54%)
HSVhsv(278, 54%, 74%)
CMYKcmyk(19.7%, 53.7%, 0%, 26.3%)
CIE-LABlab(48.29, 44.28, -42.96)
CIE-LCHlch(48.29, 61.69, 315.87°)
OKLaboklab(57.28% 0.1068 -0.1202)
OKLCHoklch(57.28% 0.161 311.6)
XYZxyz(25.2462, 17.0271, 49.5238)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9757BC #7CBC57
analogous
#6557BC #9757BC #BC57AF
triadic
#9757BC #BC9757 #57BC97
tetradic
#9757BC #BC6557 #7CBC57 #57AFBC
square
#9757BC #BC6557 #7CBC57 #57AFBC
split-complementary
#9757BC #AFBC57 #57BC65
monochromatic
#552C6D #773D99 #9757BC #B283CD #CDAFDF

Accessibility & contrast

On white

4.77
#9757BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#9757BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9757BC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9757BC#FFFFFF#000000##FFFFFF
##9757BC1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6FBF
Deuteranopia (green-blind)
#5074B9
Tritanopia (blue-blind)
#936881
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9757bc;
/* rgb */ color: rgb(151, 87, 188);
/* oklch */ color: oklch(57.3% 0.161 311.6);
Tailwind
colors: {
  custom: {
    50: '#b889d0',
    500: '#9757bc',
    950: '#000000',
  },
}
SCSS
$custom: #9757bc;
$custom-light: #b889d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9757bc",
  "rgb": {
    "r": 151,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 278.02,
    "s": 42.979,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57284,
    "c": 0.16077,
    "h": 311.6
  },
  "luminance": 0.17027
}

Semantic roles & 50–950 ramp

primary
#9757BC
secondary
#B2CDA2
accent
#D35583
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9757BC

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

Preview Lab → · Contrast checker → · Palette generator →

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