#9757BE#9757BE

#9757BE is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.4% C 0.163 H 311.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9757BE
RGBrgb(151, 87, 190)
HSLhsl(277, 44%, 54%)
HSVhsv(277, 54%, 75%)
CMYKcmyk(20.5%, 54.2%, 0%, 25.5%)
CIE-LABlab(48.40, 44.73, -43.94)
CIE-LCHlch(48.40, 62.70, 315.51°)
OKLaboklab(57.4% 0.1069 -0.1231)
OKLCHoklch(57.4% 0.163 311)
XYZxyz(25.4633, 17.1139, 50.6671)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9757BE #7EBE57
analogous
#6457BE #9757BE #BE57B1
triadic
#9757BE #BE9757 #57BE97
tetradic
#9757BE #BE6457 #7EBE57 #57B1BE
square
#9757BE #BE6457 #7EBE57 #57B1BE
split-complementary
#9757BE #B1BE57 #57BE64
monochromatic
#562B6F #773C9C #9757BE #B283CF #CEAFE0

Accessibility & contrast

On white

4.75
#9757BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9757BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9757BE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9757BE#FFFFFF#000000##FFFFFF
##9757BE1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A70C1
Deuteranopia (green-blind)
#4F74BB
Tritanopia (blue-blind)
#926982
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9757be;
/* rgb */ color: rgb(151, 87, 190);
/* oklch */ color: oklch(57.4% 0.163 311.0);
Tailwind
colors: {
  custom: {
    50: '#b889d2',
    500: '#9757be',
    950: '#000000',
  },
}
SCSS
$custom: #9757be;
$custom-light: #b889d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9757be",
  "rgb": {
    "r": 151,
    "g": 87,
    "b": 190
  },
  "hsl": {
    "h": 277.282,
    "s": 44.206,
    "l": 54.314
  },
  "oklch": {
    "l": 0.574,
    "c": 0.16303,
    "h": 311
  },
  "luminance": 0.17113
}

Semantic roles & 50–950 ramp

primary
#9757BE
secondary
#B3CEA3
accent
#D45484
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9757BE

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

Preview Lab → · Contrast checker → · Palette generator →

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