#9757BF#9757BF

#9757BF is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.5% C 0.164 H 310.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9757BF
RGBrgb(151, 87, 191)
HSLhsl(277, 45%, 55%)
HSVhsv(277, 54%, 75%)
CMYKcmyk(20.9%, 54.5%, 0%, 25.1%)
CIE-LABlab(48.46, 44.95, -44.44)
CIE-LCHlch(48.46, 63.21, 315.33°)
OKLaboklab(57.46% 0.107 -0.1245)
OKLCHoklch(57.46% 0.164 310.7)
XYZxyz(25.5729, 17.1578, 51.2447)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9757BF #7FBF57
analogous
#6357BF #9757BF #BF57B3
triadic
#9757BF #BF9757 #57BF97
tetradic
#9757BF #BF6357 #7FBF57 #57B3BF
square
#9757BF #BF6357 #7FBF57 #57B3BF
split-complementary
#9757BF #B3BF57 #57BF63
monochromatic
#562B71 #783C9D #9757BF #B283D0 #CEB0E1

Accessibility & contrast

On white

4.74
#9757BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#9757BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9757BF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9757BF#FFFFFF#000000##FFFFFF
##9757BF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3970C2
Deuteranopia (green-blind)
#4E74BC
Tritanopia (blue-blind)
#926983
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9757bf;
/* rgb */ color: rgb(151, 87, 191);
/* oklch */ color: oklch(57.5% 0.164 310.7);
Tailwind
colors: {
  custom: {
    50: '#b889d3',
    500: '#9757bf',
    950: '#000000',
  },
}
SCSS
$custom: #9757bf;
$custom-light: #b889d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9757bf",
  "rgb": {
    "r": 151,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 276.923,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57458,
    "c": 0.16416,
    "h": 310.7
  },
  "luminance": 0.17157
}

Semantic roles & 50–950 ramp

primary
#9757BF
secondary
#B4CFA3
accent
#D55385
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #9757BF

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

Preview Lab → · Contrast checker → · Palette generator →

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