#9760EC#9760EC

#9760EC is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.6% C 0.203 H 298.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9760EC
RGBrgb(151, 96, 236)
HSLhsl(264, 79%, 65%)
HSVhsv(264, 59%, 93%)
CMYKcmyk(36%, 59.3%, 0%, 7.5%)
CIE-LABlab(52.95, 50.93, -62.86)
CIE-LCHlch(52.95, 80.91, 309.01°)
OKLaboklab(61.61% 0.0963 -0.1786)
OKLCHoklch(61.61% 0.203 298.3)
XYZxyz(32.0819, 21.0008, 81.7039)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9760EC #B5EC60
analogous
#606FEC #9760EC #DD60EC
triadic
#9760EC #EC9760 #60EC97
tetradic
#9760EC #EC606F #B5EC60 #60ECDD
square
#9760EC #EC606F #B5EC60 #60ECDD
split-complementary
#9760EC #ECDD60 #6FEC60
monochromatic
#5716BB #7329E5 #9760EC #BB97F3 #DFCDF9

Accessibility & contrast

On white

4.04
#9760EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#9760EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9760EC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9760EC#FFFFFF#000000##000000
##9760EC1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF1
Deuteranopia (green-blind)
#2A7DE9
Tritanopia (blue-blind)
#847E9D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9760ec;
/* rgb */ color: rgb(151, 96, 236);
/* oklch */ color: oklch(61.6% 0.203 298.3);
Tailwind
colors: {
  custom: {
    50: '#ba8ff3',
    500: '#9760ec',
    950: '#000000',
  },
}
SCSS
$custom: #9760ec;
$custom-light: #ba8ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#9760ec",
  "rgb": {
    "r": 151,
    "g": 96,
    "b": 236
  },
  "hsl": {
    "h": 263.571,
    "s": 78.652,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61611,
    "c": 0.20287,
    "h": 298.3
  },
  "luminance": 0.21001
}

Semantic roles & 50–950 ramp

primary
#9760EC
secondary
#D9ECBC
accent
#DB0B89
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120D17
muted
#817D85

Preview Lab

Preview with #9760EC

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

Preview Lab → · Contrast checker → · Palette generator →

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