#9757CD#9757CD

#9757CD is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.3% C 0.180 H 306.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9757CD
RGBrgb(151, 87, 205)
HSLhsl(273, 54%, 57%)
HSVhsv(273, 58%, 80%)
CMYKcmyk(26.3%, 57.6%, 0%, 19.6%)
CIE-LABlab(49.26, 48.16, -51.23)
CIE-LCHlch(49.26, 70.31, 313.23°)
OKLaboklab(58.3% 0.1075 -0.1444)
OKLCHoklch(58.3% 0.18 306.7)
XYZxyz(27.1878, 17.8038, 59.7500)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9757CD #8DCD57
analogous
#5C57CD #9757CD #CD57C8
triadic
#9757CD #CD9757 #57CD97
tetradic
#9757CD #CD5C57 #8DCD57 #57C8CD
square
#9757CD #CD5C57 #8DCD57 #57C8CD
split-complementary
#9757CD #C8CD57 #57CD5C
monochromatic
#592783 #7935B2 #9757CD #B486DB #D1B5E9

Accessibility & contrast

On white

4.60
#9757CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#9757CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9757CD
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9757CD#FFFFFF#000000##FFFFFF
##9757CD1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2973D1
Deuteranopia (green-blind)
#4376CA
Tritanopia (blue-blind)
#8E6E8A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9757cd;
/* rgb */ color: rgb(151, 87, 205);
/* oklch */ color: oklch(58.3% 0.180 306.7);
Tailwind
colors: {
  custom: {
    50: '#b989dd',
    500: '#9757cd',
    950: '#000000',
  },
}
SCSS
$custom: #9757cd;
$custom-light: #b989dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9757cd",
  "rgb": {
    "r": 151,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 272.542,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58303,
    "c": 0.18003,
    "h": 306.7
  },
  "luminance": 0.17803
}

Semantic roles & 50–950 ramp

primary
#9757CD
secondary
#BED8A8
accent
#DD4A8E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9757CD

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

Preview Lab → · Contrast checker → · Palette generator →

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