#9760DC#9760DC

#9760DC is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.6% C 0.184 H 301.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9760DC
RGBrgb(151, 96, 220)
HSLhsl(267, 64%, 62%)
HSVhsv(267, 56%, 86%)
CMYKcmyk(31.4%, 56.4%, 0%, 13.7%)
CIE-LABlab(51.96, 46.96, -55.44)
CIE-LCHlch(51.96, 72.65, 310.26°)
OKLaboklab(60.57% 0.0964 -0.1568)
OKLCHoklch(60.57% 0.184 301.6)
XYZxyz(29.8606, 20.1123, 70.0052)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9760DC #A5DC60
analogous
#6067DC #9760DC #D560DC
triadic
#9760DC #DC9760 #60DC97
tetradic
#9760DC #DC6067 #A5DC60 #60DCD5
square
#9760DC #DC6067 #A5DC60 #60DCD5
split-complementary
#9760DC #DCD560 #67DC60
monochromatic
#5A239F #762ED1 #9760DC #B892E7 #D9C4F2

Accessibility & contrast

On white

4.18
#9760DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#9760DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9760DC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9760DC#FFFFFF#000000##000000
##9760DC1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7BE0
Deuteranopia (green-blind)
#407BD9
Tritanopia (blue-blind)
#897995
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9760dc;
/* rgb */ color: rgb(151, 96, 220);
/* oklch */ color: oklch(60.6% 0.184 301.6);
Tailwind
colors: {
  custom: {
    50: '#b98fe7',
    500: '#9760dc',
    950: '#000000',
  },
}
SCSS
$custom: #9760dc;
$custom-light: #b98fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#9760dc",
  "rgb": {
    "r": 151,
    "g": 96,
    "b": 220
  },
  "hsl": {
    "h": 266.613,
    "s": 63.918,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60573,
    "c": 0.18406,
    "h": 301.6
  },
  "luminance": 0.20112
}

Semantic roles & 50–950 ramp

primary
#9760DC
secondary
#CEE3B5
accent
#CC1A7D
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9760DC

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

Preview Lab → · Contrast checker → · Palette generator →

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