#9760E5#9760E5

#9760E5 is a mid, vivid violet. Relative luminance 0.206; OKLCH L 61.2% C 0.195 H 299.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9760E5
RGBrgb(151, 96, 229)
HSLhsl(265, 72%, 64%)
HSVhsv(265, 58%, 90%)
CMYKcmyk(34.1%, 58.1%, 0%, 10.2%)
CIE-LABlab(52.51, 49.18, -59.64)
CIE-LCHlch(52.51, 77.30, 309.51°)
OKLaboklab(61.15% 0.0965 -0.1691)
OKLCHoklch(61.15% 0.195 299.7)
XYZxyz(31.0848, 20.6019, 76.4524)
Luminance0.2060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9760E5 #AEE560
analogous
#606BE5 #9760E5 #D960E5
triadic
#9760E5 #E59760 #60E597
tetradic
#9760E5 #E5606B #AEE560 #60E5D9
square
#9760E5 #E5606B #AEE560 #60E5D9
split-complementary
#9760E5 #E5D960 #6BE560
monochromatic
#591CAE #752BDC #9760E5 #B995EE #DCC9F6

Accessibility & contrast

On white

4.10
#9760E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#9760E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9760E5
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9760E5#FFFFFF#000000##000000
##9760E51.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#197DE9
Deuteranopia (green-blind)
#357CE2
Tritanopia (blue-blind)
#867C99
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9760e5;
/* rgb */ color: rgb(151, 96, 229);
/* oklch */ color: oklch(61.2% 0.195 299.7);
Tailwind
colors: {
  custom: {
    50: '#ba8fee',
    500: '#9760e5',
    950: '#000000',
  },
}
SCSS
$custom: #9760e5;
$custom-light: #ba8fee;
$custom-dark: #000000;
JSON
{
  "hex": "#9760e5",
  "rgb": {
    "r": 151,
    "g": 96,
    "b": 229
  },
  "hsl": {
    "h": 264.812,
    "s": 71.892,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6115,
    "c": 0.19467,
    "h": 299.7
  },
  "luminance": 0.20602
}

Semantic roles & 50–950 ramp

primary
#9760E5
secondary
#D4E8B9
accent
#D41284
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120D16
muted
#817D84

Preview Lab

Preview with #9760E5

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

Preview Lab → · Contrast checker → · Palette generator →

#9760E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva