#9761DB#9761DB

#9761DB is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.7% C 0.181 H 301.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9761DB
RGBrgb(151, 97, 219)
HSLhsl(267, 63%, 62%)
HSVhsv(267, 56%, 86%)
CMYKcmyk(31.1%, 55.7%, 0%, 14.1%)
CIE-LABlab(52.11, 46.17, -54.64)
CIE-LCHlch(52.11, 71.53, 310.20°)
OKLaboklab(60.66% 0.0952 -0.1544)
OKLCHoklch(60.66% 0.181 301.7)
XYZxyz(29.8204, 20.2431, 69.3404)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9761DB #A5DB61
analogous
#6168DB #9761DB #D461DB
triadic
#9761DB #DB9761 #61DB97
tetradic
#9761DB #DB6168 #A5DB61 #61DBD4
square
#9761DB #DB6168 #A5DB61 #61DBD4
split-complementary
#9761DB #DBD461 #68DB61
monochromatic
#5A249E #762FD0 #9761DB #B893E6 #D9C5F2

Accessibility & contrast

On white

4.16
#9761DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#9761DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9761DB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9761DB#FFFFFF#000000##000000
##9761DB1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7BDF
Deuteranopia (green-blind)
#427CD8
Tritanopia (blue-blind)
#8A7995
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9761db;
/* rgb */ color: rgb(151, 97, 219);
/* oklch */ color: oklch(60.7% 0.181 301.7);
Tailwind
colors: {
  custom: {
    50: '#b990e7',
    500: '#9761db',
    950: '#000000',
  },
}
SCSS
$custom: #9761db;
$custom-light: #b990e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9761db",
  "rgb": {
    "r": 151,
    "g": 97,
    "b": 219
  },
  "hsl": {
    "h": 266.557,
    "s": 62.887,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60662,
    "c": 0.18139,
    "h": 301.7
  },
  "luminance": 0.20243
}

Semantic roles & 50–950 ramp

primary
#9761DB
secondary
#CEE2B5
accent
#CB1B7D
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120D16
muted
#817D84

Preview Lab

Preview with #9761DB

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

Preview Lab → · Contrast checker → · Palette generator →

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