#9760DB#9760DB

#9760DB is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.5% C 0.183 H 301.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9760DB
RGBrgb(151, 96, 219)
HSLhsl(267, 63%, 62%)
HSVhsv(267, 56%, 86%)
CMYKcmyk(31.1%, 56.2%, 0%, 14.1%)
CIE-LABlab(51.90, 46.71, -54.97)
CIE-LCHlch(51.90, 72.13, 310.36°)
OKLaboklab(60.51% 0.0964 -0.1554)
OKLCHoklch(60.51% 0.183 301.8)
XYZxyz(29.7286, 20.0595, 69.3098)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9760DB #A4DB60
analogous
#6067DB #9760DB #D460DB
triadic
#9760DB #DB9760 #60DB97
tetradic
#9760DB #DB6067 #A4DB60 #60DBD4
square
#9760DB #DB6067 #A4DB60 #60DBD4
split-complementary
#9760DB #DBD460 #67DB60
monochromatic
#5A249D #762FCF #9760DB #B892E6 #D8C4F2

Accessibility & contrast

On white

4.19
#9760DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#9760DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9760DB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9760DB#FFFFFF#000000##000000
##9760DB1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7BDF
Deuteranopia (green-blind)
#417BD8
Tritanopia (blue-blind)
#8A7894
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9760db;
/* rgb */ color: rgb(151, 96, 219);
/* oklch */ color: oklch(60.5% 0.183 301.8);
Tailwind
colors: {
  custom: {
    50: '#b98fe7',
    500: '#9760db',
    950: '#000000',
  },
}
SCSS
$custom: #9760db;
$custom-light: #b98fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#9760db",
  "rgb": {
    "r": 151,
    "g": 96,
    "b": 219
  },
  "hsl": {
    "h": 266.829,
    "s": 63.077,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6051,
    "c": 0.18287,
    "h": 301.8
  },
  "luminance": 0.2006
}

Semantic roles & 50–950 ramp

primary
#9760DB
secondary
#CEE2B5
accent
#CB1B7C
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9760DB

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

Preview Lab → · Contrast checker → · Palette generator →

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