#9757DF#9757DF

#9757DF is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.5% C 0.200 H 302.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9757DF
RGBrgb(151, 87, 223)
HSLhsl(268, 68%, 61%)
HSVhsv(268, 61%, 87%)
CMYKcmyk(32.3%, 61%, 0%, 12.5%)
CIE-LABlab(50.36, 52.44, -59.71)
CIE-LCHlch(50.36, 79.47, 311.29°)
OKLaboklab(59.46% 0.1073 -0.1693)
OKLCHoklch(59.46% 0.2 302.4)
XYZxyz(29.4869, 18.7234, 71.8582)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9757DF #9FDF57
analogous
#575BDF #9757DF #DB57DF
triadic
#9757DF #DF9757 #57DF97
tetradic
#9757DF #DF575B #9FDF57 #57DFDB
square
#9757DF #DF575B #9FDF57 #57DFDB
split-complementary
#9757DF #DFDB57 #5BDF57
monochromatic
#5A1E9E #7728D1 #9757DF #B78AE9 #D7BEF3

Accessibility & contrast

On white

4.43
#9757DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#9757DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9757DF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9757DF#FFFFFF#000000##000000
##9757DF1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#2E77DC
Tritanopia (blue-blind)
#897493
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9757df;
/* rgb */ color: rgb(151, 87, 223);
/* oklch */ color: oklch(59.5% 0.200 302.4);
Tailwind
colors: {
  custom: {
    50: '#ba89ea',
    500: '#9757df',
    950: '#000000',
  },
}
SCSS
$custom: #9757df;
$custom-light: #ba89ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9757df",
  "rgb": {
    "r": 151,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 268.235,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59462,
    "c": 0.2004,
    "h": 302.4
  },
  "luminance": 0.18723
}

Semantic roles & 50–950 ramp

primary
#9757DF
secondary
#CAE3AF
accent
#D01678
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9757DF

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

Preview Lab → · Contrast checker → · Palette generator →

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