#9757DB#9757DB

#9757DB is a mid, vivid violet. Relative luminance 0.185; OKLCH L 59.2% C 0.196 H 303.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9757DB
RGBrgb(151, 87, 219)
HSLhsl(269, 65%, 60%)
HSVhsv(269, 60%, 86%)
CMYKcmyk(31.1%, 60.3%, 0%, 14.1%)
CIE-LABlab(50.11, 51.48, -57.85)
CIE-LCHlch(50.11, 77.44, 311.66°)
OKLaboklab(59.2% 0.1074 -0.1638)
OKLCHoklch(59.2% 0.196 303.2)
XYZxyz(28.9540, 18.5102, 69.0516)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9757DB #9BDB57
analogous
#5759DB #9757DB #D957DB
triadic
#9757DB #DB9757 #57DB97
tetradic
#9757DB #DB5759 #9BDB57 #57DBD9
square
#9757DB #DB5759 #9BDB57 #57DBD9
split-complementary
#9757DB #DBD957 #59DB57
monochromatic
#5A2097 #782BCA #9757DB #B689E6 #D5BCF1

Accessibility & contrast

On white

4.47
#9757DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#9757DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9757DB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9757DB#FFFFFF#000000##000000
##9757DB1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0876DF
Deuteranopia (green-blind)
#3477D8
Tritanopia (blue-blind)
#8A7291
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9757db;
/* rgb */ color: rgb(151, 87, 219);
/* oklch */ color: oklch(59.2% 0.196 303.2);
Tailwind
colors: {
  custom: {
    50: '#ba89e7',
    500: '#9757db',
    950: '#000000',
  },
}
SCSS
$custom: #9757db;
$custom-light: #ba89e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9757db",
  "rgb": {
    "r": 151,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 269.091,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.59198,
    "c": 0.19589,
    "h": 303.2
  },
  "luminance": 0.1851
}

Semantic roles & 50–950 ramp

primary
#9757DB
secondary
#C8E0AD
accent
#E84096
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9757DB

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

Preview Lab → · Contrast checker → · Palette generator →

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