#9757CE#9757CE

#9757CE is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.4% C 0.181 H 306.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9757CE
RGBrgb(151, 87, 206)
HSLhsl(272, 55%, 57%)
HSVhsv(272, 58%, 81%)
CMYKcmyk(26.7%, 57.8%, 0%, 19.2%)
CIE-LABlab(49.32, 48.40, -51.71)
CIE-LCHlch(49.32, 70.82, 313.11°)
OKLaboklab(58.37% 0.1075 -0.1458)
OKLCHoklch(58.37% 0.181 306.4)
XYZxyz(27.3089, 17.8522, 60.3877)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9757CE #8ECE57
analogous
#5B57CE #9757CE #CE57CA
triadic
#9757CE #CE9757 #57CE97
tetradic
#9757CE #CE5B57 #8ECE57 #57CACE
square
#9757CE #CE5B57 #8ECE57 #57CACE
split-complementary
#9757CE #CACE57 #57CE5B
monochromatic
#592784 #7934B3 #9757CE #B486DC #D2B6EA

Accessibility & contrast

On white

4.59
#9757CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#9757CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9757CE
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9757CE#FFFFFF#000000##FFFFFF
##9757CE1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2873D2
Deuteranopia (green-blind)
#4276CB
Tritanopia (blue-blind)
#8E6E8A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9757ce;
/* rgb */ color: rgb(151, 87, 206);
/* oklch */ color: oklch(58.4% 0.181 306.4);
Tailwind
colors: {
  custom: {
    50: '#b989dd',
    500: '#9757ce',
    950: '#000000',
  },
}
SCSS
$custom: #9757ce;
$custom-light: #b989dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9757ce",
  "rgb": {
    "r": 151,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 272.269,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58365,
    "c": 0.18116,
    "h": 306.4
  },
  "luminance": 0.17852
}

Semantic roles & 50–950 ramp

primary
#9757CE
secondary
#BFD8A8
accent
#DE4A8E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9757CE

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

Preview Lab → · Contrast checker → · Palette generator →

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