#9757ED#9757ED

#9757ED is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.4% C 0.216 H 299.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9757ED
RGBrgb(151, 87, 237)
HSLhsl(266, 81%, 64%)
HSVhsv(266, 63%, 93%)
CMYKcmyk(36.3%, 63.3%, 0%, 7.1%)
CIE-LABlab(51.28, 55.85, -66.12)
CIE-LCHlch(51.28, 86.55, 310.19°)
OKLaboklab(60.42% 0.1064 -0.1881)
OKLCHoklch(60.42% 0.216 299.5)
XYZxyz(31.4530, 19.5098, 82.2130)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9757ED #ADED57
analogous
#5762ED #9757ED #E257ED
triadic
#9757ED #ED9757 #57ED97
tetradic
#9757ED #ED5762 #ADED57 #57EDE2
square
#9757ED #ED5762 #ADED57 #57EDE2
split-complementary
#9757ED #EDE257 #62ED57
monochromatic
#5914B6 #7520E7 #9757ED #B98EF3 #DBC6F9

Accessibility & contrast

On white

4.28
#9757ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#9757ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9757ED
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9757ED#FFFFFF#000000##000000
##9757ED1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF2
Deuteranopia (green-blind)
#0979EA
Tritanopia (blue-blind)
#84789A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9757ed;
/* rgb */ color: rgb(151, 87, 237);
/* oklch */ color: oklch(60.4% 0.216 299.5);
Tailwind
colors: {
  custom: {
    50: '#bb8af4',
    500: '#9757ed',
    950: '#000000',
  },
}
SCSS
$custom: #9757ed;
$custom-light: #bb8af4;
$custom-dark: #000000;
JSON
{
  "hex": "#9757ed",
  "rgb": {
    "r": 151,
    "g": 87,
    "b": 237
  },
  "hsl": {
    "h": 265.6,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60418,
    "c": 0.21611,
    "h": 299.5
  },
  "luminance": 0.1951
}

Semantic roles & 50–950 ramp

primary
#9757ED
secondary
#D4EAB5
accent
#DD0982
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #9757ED

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

Preview Lab → · Contrast checker → · Palette generator →

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