#9757D9#9757D9

#9757D9 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 59.1% C 0.194 H 303.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9757D9
RGBrgb(151, 87, 217)
HSLhsl(270, 63%, 60%)
HSVhsv(270, 60%, 85%)
CMYKcmyk(30.4%, 59.9%, 0%, 14.9%)
CIE-LABlab(49.98, 51.00, -56.91)
CIE-LCHlch(49.98, 76.42, 311.86°)
OKLaboklab(59.07% 0.1075 -0.1611)
OKLCHoklch(59.07% 0.194 303.7)
XYZxyz(28.6923, 18.4055, 67.6732)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9757D9 #99D957
analogous
#5758D9 #9757D9 #D857D9
triadic
#9757D9 #D99757 #57D997
tetradic
#9757D9 #D95758 #99D957 #57D9D8
square
#9757D9 #D95758 #99D957 #57D9D8
split-complementary
#9757D9 #D9D857 #58D957
monochromatic
#5A2194 #782DC6 #9757D9 #B689E4 #D5BBF0

Accessibility & contrast

On white

4.49
#9757D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9757D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9757D9
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9757D9#FFFFFF#000000##000000
##9757D91.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1075DD
Deuteranopia (green-blind)
#3677D6
Tritanopia (blue-blind)
#8B7290
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9757d9;
/* rgb */ color: rgb(151, 87, 217);
/* oklch */ color: oklch(59.1% 0.194 303.7);
Tailwind
colors: {
  custom: {
    50: '#ba89e5',
    500: '#9757d9',
    950: '#000000',
  },
}
SCSS
$custom: #9757d9;
$custom-light: #ba89e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9757d9",
  "rgb": {
    "r": 151,
    "g": 87,
    "b": 217
  },
  "hsl": {
    "h": 269.538,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59067,
    "c": 0.19363,
    "h": 303.7
  },
  "luminance": 0.18405
}

Semantic roles & 50–950 ramp

primary
#9757D9
secondary
#C6DFAD
accent
#E64295
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9757D9

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

Preview Lab → · Contrast checker → · Palette generator →

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