#9757CB#9757CB

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

Color values

HEX#9757CB
RGBrgb(151, 87, 203)
HSLhsl(273, 53%, 57%)
HSVhsv(273, 57%, 80%)
CMYKcmyk(25.6%, 57.1%, 0%, 20.4%)
CIE-LABlab(49.14, 47.70, -50.27)
CIE-LCHlch(49.14, 69.30, 313.50°)
OKLaboklab(58.18% 0.1075 -0.1416)
OKLCHoklch(58.18% 0.178 307.2)
XYZxyz(26.9480, 17.7078, 58.4866)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9757CB #8BCB57
analogous
#5D57CB #9757CB #CB57C5
triadic
#9757CB #CB9757 #57CB97
tetradic
#9757CB #CB5D57 #8BCB57 #57C5CB
square
#9757CB #CB5D57 #8BCB57 #57C5CB
split-complementary
#9757CB #C5CB57 #57CB5D
monochromatic
#582880 #7936AF #9757CB #B486D9 #D1B4E8

Accessibility & contrast

On white

4.62
#9757CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#9757CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9757CB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9757CB#FFFFFF#000000##FFFFFF
##9757CB1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C72CF
Deuteranopia (green-blind)
#4575C8
Tritanopia (blue-blind)
#8F6D89
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9757cb;
/* rgb */ color: rgb(151, 87, 203);
/* oklch */ color: oklch(58.2% 0.178 307.2);
Tailwind
colors: {
  custom: {
    50: '#b989db',
    500: '#9757cb',
    950: '#000000',
  },
}
SCSS
$custom: #9757cb;
$custom-light: #b989db;
$custom-dark: #000000;
JSON
{
  "hex": "#9757cb",
  "rgb": {
    "r": 151,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 273.103,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58179,
    "c": 0.17776,
    "h": 307.2
  },
  "luminance": 0.17707
}

Semantic roles & 50–950 ramp

primary
#9757CB
secondary
#BCD7A7
accent
#DC4C8C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9757CB

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

Preview Lab → · Contrast checker → · Palette generator →

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