#9760E8#9760E8

#9760E8 is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.3% C 0.198 H 299.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9760E8
RGBrgb(151, 96, 232)
HSLhsl(264, 75%, 64%)
HSVhsv(264, 59%, 91%)
CMYKcmyk(34.9%, 58.6%, 0%, 9%)
CIE-LABlab(52.70, 49.93, -61.03)
CIE-LCHlch(52.70, 78.85, 309.29°)
OKLaboklab(61.35% 0.0964 -0.1732)
OKLCHoklch(61.35% 0.198 299.1)
XYZxyz(31.5073, 20.7709, 78.6775)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9760E8 #B1E860
analogous
#606DE8 #9760E8 #DB60E8
triadic
#9760E8 #E89760 #60E897
tetradic
#9760E8 #E8606D #B1E860 #60E8DB
square
#9760E8 #E8606D #B1E860 #60E8DB
split-complementary
#9760E8 #E8DB60 #6DE860
monochromatic
#581AB4 #742BE0 #9760E8 #BA95F0 #DDCBF7

Accessibility & contrast

On white

4.07
#9760E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#9760E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9760E8
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9760E8#FFFFFF#000000##000000
##9760E81.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F7EEC
Deuteranopia (green-blind)
#317DE5
Tritanopia (blue-blind)
#857D9B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9760e8;
/* rgb */ color: rgb(151, 96, 232);
/* oklch */ color: oklch(61.3% 0.198 299.1);
Tailwind
colors: {
  custom: {
    50: '#ba8ff0',
    500: '#9760e8',
    950: '#000000',
  },
}
SCSS
$custom: #9760e8;
$custom-light: #ba8ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#9760e8",
  "rgb": {
    "r": 151,
    "g": 96,
    "b": 232
  },
  "hsl": {
    "h": 264.265,
    "s": 74.725,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61346,
    "c": 0.19819,
    "h": 299.1
  },
  "luminance": 0.20771
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9760E8

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

Preview Lab → · Contrast checker → · Palette generator →

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