#9760E7#9760E7

#9760E7 is a mid, vivid violet. Relative luminance 0.207; OKLCH L 61.3% C 0.197 H 299.3°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9760E7
RGBrgb(151, 96, 231)
HSLhsl(264, 74%, 64%)
HSVhsv(264, 58%, 91%)
CMYKcmyk(34.6%, 58.4%, 0%, 9.4%)
CIE-LABlab(52.64, 49.68, -60.56)
CIE-LCHlch(52.64, 78.33, 309.36°)
OKLaboklab(61.28% 0.0964 -0.1718)
OKLCHoklch(61.28% 0.197 299.3)
XYZxyz(31.3656, 20.7143, 77.9316)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9760E7 #B0E760
analogous
#606DE7 #9760E7 #DA60E7
triadic
#9760E7 #E79760 #60E797
tetradic
#9760E7 #E7606D #B0E760 #60E7DA
square
#9760E7 #E7606D #B0E760 #60E7DA
split-complementary
#9760E7 #E7DA60 #6DE760
monochromatic
#581BB2 #742BDF #9760E7 #BA95EF #DDCAF7

Accessibility & contrast

On white

4.08
#9760E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#9760E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9760E7
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9760E7#FFFFFF#000000##000000
##9760E71.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#137DEB
Deuteranopia (green-blind)
#327CE4
Tritanopia (blue-blind)
#867C9A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9760e7;
/* rgb */ color: rgb(151, 96, 231);
/* oklch */ color: oklch(61.3% 0.197 299.3);
Tailwind
colors: {
  custom: {
    50: '#ba8fef',
    500: '#9760e7',
    950: '#000000',
  },
}
SCSS
$custom: #9760e7;
$custom-light: #ba8fef;
$custom-dark: #000000;
JSON
{
  "hex": "#9760e7",
  "rgb": {
    "r": 151,
    "g": 96,
    "b": 231
  },
  "hsl": {
    "h": 264.444,
    "s": 73.77,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61281,
    "c": 0.19702,
    "h": 299.3
  },
  "luminance": 0.20715
}

Semantic roles & 50–950 ramp

primary
#9760E7
secondary
#D6E9BA
accent
#D61085
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120D17
muted
#817D85

Preview Lab

Preview with #9760E7

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

Preview Lab → · Contrast checker → · Palette generator →

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