#9761CD#9761CD

#9761CD is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.8% C 0.165 H 305.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9761CD
RGBrgb(151, 97, 205)
HSLhsl(270, 52%, 59%)
HSVhsv(270, 53%, 80%)
CMYKcmyk(26.3%, 52.7%, 0%, 19.6%)
CIE-LABlab(51.31, 42.78, -47.95)
CIE-LCHlch(51.31, 64.26, 311.74°)
OKLaboklab(59.81% 0.0945 -0.1348)
OKLCHoklch(59.81% 0.165 305)
XYZxyz(28.0543, 19.5366, 60.0388)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9761CD #97CD61
analogous
#6161CD #9761CD #CD61CD
triadic
#9761CD #CD9761 #61CD97
tetradic
#9761CD #CD6161 #97CD61 #61CDCD
square
#9761CD #CD6161 #97CD61 #61CDCD
split-complementary
#9761CD #CDCD61 #61CD61
monochromatic
#5A2B88 #783AB7 #9761CD #B68FDC #D4BEEA

Accessibility & contrast

On white

4.28
#9761CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#9761CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9761CD
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9761CD#FFFFFF#000000##000000
##9761CD1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E79D1
Deuteranopia (green-blind)
#4F7ACA
Tritanopia (blue-blind)
#8E758E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9761cd;
/* rgb */ color: rgb(151, 97, 205);
/* oklch */ color: oklch(59.8% 0.165 305.0);
Tailwind
colors: {
  custom: {
    50: '#b88fdd',
    500: '#9761cd',
    950: '#000000',
  },
}
SCSS
$custom: #9761cd;
$custom-light: #b88fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#9761cd",
  "rgb": {
    "r": 151,
    "g": 97,
    "b": 205
  },
  "hsl": {
    "h": 270,
    "s": 51.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59812,
    "c": 0.16468,
    "h": 305
  },
  "luminance": 0.19536
}

Semantic roles & 50–950 ramp

primary
#9761CD
secondary
#C5DAB0
accent
#DB4C94
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9761CD

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

Preview Lab → · Contrast checker → · Palette generator →

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