#9757CC#9757CC

#9757CC is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.2% C 0.179 H 306.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9757CC
RGBrgb(151, 87, 204)
HSLhsl(273, 53%, 57%)
HSVhsv(273, 57%, 80%)
CMYKcmyk(26%, 57.4%, 0%, 20%)
CIE-LABlab(49.20, 47.93, -50.75)
CIE-LCHlch(49.20, 69.81, 313.36°)
OKLaboklab(58.24% 0.1075 -0.143)
OKLCHoklch(58.24% 0.179 306.9)
XYZxyz(27.0675, 17.7556, 59.1163)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9757CC #8CCC57
analogous
#5D57CC #9757CC #CC57C6
triadic
#9757CC #CC9757 #57CC97
tetradic
#9757CC #CC5D57 #8CCC57 #57C6CC
square
#9757CC #CC5D57 #8CCC57 #57C6CC
split-complementary
#9757CC #C6CC57 #57CC5D
monochromatic
#592781 #7936B0 #9757CC #B486DA #D1B5E9

Accessibility & contrast

On white

4.61
#9757CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#9757CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9757CC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9757CC#FFFFFF#000000##FFFFFF
##9757CC1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B73D0
Deuteranopia (green-blind)
#4475C9
Tritanopia (blue-blind)
#8F6D89
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9757cc;
/* rgb */ color: rgb(151, 87, 204);
/* oklch */ color: oklch(58.2% 0.179 306.9);
Tailwind
colors: {
  custom: {
    50: '#b989dc',
    500: '#9757cc',
    950: '#000000',
  },
}
SCSS
$custom: #9757cc;
$custom-light: #b989dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9757cc",
  "rgb": {
    "r": 151,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 272.821,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58241,
    "c": 0.17889,
    "h": 306.9
  },
  "luminance": 0.17755
}

Semantic roles & 50–950 ramp

primary
#9757CC
secondary
#BDD7A8
accent
#DD4B8D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9757CC

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

Preview Lab → · Contrast checker → · Palette generator →

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