#9757AF#9757AF

#9757AF is a mid, vivid purple. Relative luminance 0.165; OKLCH L 56.6% C 0.146 H 316.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9757AF
RGBrgb(151, 87, 175)
HSLhsl(284, 35%, 51%)
HSVhsv(284, 50%, 69%)
CMYKcmyk(13.7%, 50.3%, 0%, 31.4%)
CIE-LABlab(47.61, 41.43, -36.46)
CIE-LCHlch(47.61, 55.18, 318.65°)
OKLaboklab(56.56% 0.1055 -0.1013)
OKLCHoklch(56.56% 0.146 316.1)
XYZxyz(23.9074, 16.4916, 42.4729)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9757AF #6FAF57
analogous
#6B57AF #9757AF #AF579B
triadic
#9757AF #AF9757 #57AF97
tetradic
#9757AF #AF6B57 #6FAF57 #579BAF
square
#9757AF #AF6B57 #6FAF57 #579BAF
split-complementary
#9757AF #9BAF57 #57AF6B
monochromatic
#512D5F #754188 #9757AF #B180C3 #CAAAD6

Accessibility & contrast

On white

4.89
#9757AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#9757AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9757AF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9757AF#FFFFFF#000000##FFFFFF
##9757AF1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456DB2
Deuteranopia (green-blind)
#5873AD
Tritanopia (blue-blind)
#96647B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9757af;
/* rgb */ color: rgb(151, 87, 175);
/* oklch */ color: oklch(56.6% 0.146 316.1);
Tailwind
colors: {
  custom: {
    50: '#b788c7',
    500: '#9757af',
    950: '#000000',
  },
}
SCSS
$custom: #9757af;
$custom-light: #b788c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9757af",
  "rgb": {
    "r": 151,
    "g": 87,
    "b": 175
  },
  "hsl": {
    "h": 283.636,
    "s": 35.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.56559,
    "c": 0.14623,
    "h": 316.1
  },
  "luminance": 0.16491
}

Semantic roles & 50–950 ramp

primary
#9757AF
secondary
#A8C49E
accent
#CC5C7B
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #9757AF

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

Preview Lab → · Contrast checker → · Palette generator →

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