#9757CA#9757CA

#9757CA is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.1% C 0.177 H 307.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9757CA
RGBrgb(151, 87, 202)
HSLhsl(273, 52%, 57%)
HSVhsv(273, 57%, 79%)
CMYKcmyk(25.2%, 56.9%, 0%, 20.8%)
CIE-LABlab(49.08, 47.47, -49.79)
CIE-LCHlch(49.08, 68.79, 313.63°)
OKLaboklab(58.12% 0.1075 -0.1402)
OKLCHoklch(58.12% 0.177 307.5)
XYZxyz(26.8292, 17.6603, 57.8611)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9757CA #8ACA57
analogous
#5E57CA #9757CA #CA57C4
triadic
#9757CA #CA9757 #57CA97
tetradic
#9757CA #CA5E57 #8ACA57 #57C4CA
square
#9757CA #CA5E57 #8ACA57 #57C4CA
split-complementary
#9757CA #C4CA57 #57CA5E
monochromatic
#58287F #7937AD #9757CA #B486D9 #D1B4E7

Accessibility & contrast

On white

4.63
#9757CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#9757CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9757CA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9757CA#FFFFFF#000000##FFFFFF
##9757CA1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D72CE
Deuteranopia (green-blind)
#4675C7
Tritanopia (blue-blind)
#8F6D88
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9757ca;
/* rgb */ color: rgb(151, 87, 202);
/* oklch */ color: oklch(58.1% 0.177 307.5);
Tailwind
colors: {
  custom: {
    50: '#b989db',
    500: '#9757ca',
    950: '#000000',
  },
}
SCSS
$custom: #9757ca;
$custom-light: #b989db;
$custom-dark: #000000;
JSON
{
  "hex": "#9757ca",
  "rgb": {
    "r": 151,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 273.391,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58117,
    "c": 0.17662,
    "h": 307.5
  },
  "luminance": 0.1766
}

Semantic roles & 50–950 ramp

primary
#9757CA
secondary
#BCD6A7
accent
#DB4C8C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9757CA

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

Preview Lab → · Contrast checker → · Palette generator →

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