#9757CF#9757CF

#9757CF is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.4% C 0.182 H 306.2°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#9757CF
RGBrgb(151, 87, 207)
HSLhsl(272, 56%, 58%)
HSVhsv(272, 58%, 81%)
CMYKcmyk(27.1%, 58%, 0%, 18.8%)
CIE-LABlab(49.38, 48.63, -52.18)
CIE-LCHlch(49.38, 71.33, 312.98°)
OKLaboklab(58.43% 0.1075 -0.1472)
OKLCHoklch(58.43% 0.182 306.2)
XYZxyz(27.4308, 17.9009, 61.0295)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9757CF #8FCF57
analogous
#5B57CF #9757CF #CF57CB
triadic
#9757CF #CF9757 #57CF97
tetradic
#9757CF #CF5B57 #8FCF57 #57CBCF
square
#9757CF #CF5B57 #8FCF57 #57CBCF
split-complementary
#9757CF #CBCF57 #57CF5B
monochromatic
#592685 #7934B5 #9757CF #B487DD #D2B6EA

Accessibility & contrast

On white

4.58
#9757CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9757CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9757CF
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9757CF#FFFFFF#000000##000000
##9757CF1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2673D3
Deuteranopia (green-blind)
#4176CC
Tritanopia (blue-blind)
#8E6E8B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9757cf;
/* rgb */ color: rgb(151, 87, 207);
/* oklch */ color: oklch(58.4% 0.182 306.2);
Tailwind
colors: {
  custom: {
    50: '#b989de',
    500: '#9757cf',
    950: '#000000',
  },
}
SCSS
$custom: #9757cf;
$custom-light: #b989de;
$custom-dark: #000000;
JSON
{
  "hex": "#9757cf",
  "rgb": {
    "r": 151,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 272,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58428,
    "c": 0.18229,
    "h": 306.2
  },
  "luminance": 0.17901
}

Semantic roles & 50–950 ramp

primary
#9757CF
secondary
#BFD9A9
accent
#DF498F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9757CF

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

Preview Lab → · Contrast checker → · Palette generator →

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