#9757DC#9757DC

#9757DC is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.3% C 0.197 H 303.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9757DC
RGBrgb(151, 87, 220)
HSLhsl(269, 66%, 60%)
HSVhsv(269, 60%, 86%)
CMYKcmyk(31.4%, 60.5%, 0%, 13.7%)
CIE-LABlab(50.17, 51.72, -58.32)
CIE-LCHlch(50.17, 77.94, 311.57°)
OKLaboklab(59.26% 0.1074 -0.1652)
OKLCHoklch(59.26% 0.197 303)
XYZxyz(29.0860, 18.5630, 69.7470)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9757DC #9CDC57
analogous
#575ADC #9757DC #D957DC
triadic
#9757DC #DC9757 #57DC97
tetradic
#9757DC #DC575A #9CDC57 #57DCD9
square
#9757DC #DC575A #9CDC57 #57DCD9
split-complementary
#9757DC #DCD957 #5ADC57
monochromatic
#5A2099 #782ACB #9757DC #B68AE7 #D6BCF1

Accessibility & contrast

On white

4.46
#9757DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#9757DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9757DC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9757DC#FFFFFF#000000##000000
##9757DC1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0376E0
Deuteranopia (green-blind)
#3377D9
Tritanopia (blue-blind)
#8A7391
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9757dc;
/* rgb */ color: rgb(151, 87, 220);
/* oklch */ color: oklch(59.3% 0.197 303.0);
Tailwind
colors: {
  custom: {
    50: '#ba89e8',
    500: '#9757dc',
    950: '#000000',
  },
}
SCSS
$custom: #9757dc;
$custom-light: #ba89e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9757dc",
  "rgb": {
    "r": 151,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 268.872,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59264,
    "c": 0.19702,
    "h": 303
  },
  "luminance": 0.18563
}

Semantic roles & 50–950 ramp

primary
#9757DC
secondary
#C8E1AE
accent
#CD1876
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9757DC

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

Preview Lab → · Contrast checker → · Palette generator →

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