#9760CD#9760CD

#9760CD is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.7% C 0.166 H 305.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9760CD
RGBrgb(151, 96, 205)
HSLhsl(270, 52%, 59%)
HSVhsv(270, 53%, 80%)
CMYKcmyk(26.3%, 53.2%, 0%, 19.6%)
CIE-LABlab(51.10, 43.33, -48.29)
CIE-LCHlch(51.10, 64.88, 311.90°)
OKLaboklab(59.66% 0.0959 -0.1358)
OKLCHoklch(59.66% 0.166 305.2)
XYZxyz(27.9625, 19.3530, 60.0082)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9760CD #96CD60
analogous
#6160CD #9760CD #CD60CD
triadic
#9760CD #CD9760 #60CD97
tetradic
#9760CD #CD6160 #96CD60 #60CDCD
square
#9760CD #CD6160 #96CD60 #60CDCD
split-complementary
#9760CD #CDCD60 #60CD61
monochromatic
#5A2B88 #7839B6 #9760CD #B58FDC #D4BDEA

Accessibility & contrast

On white

4.31
#9760CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#9760CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9760CD
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9760CD#FFFFFF#000000##000000
##9760CD1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C78D1
Deuteranopia (green-blind)
#4D7ACA
Tritanopia (blue-blind)
#8E748D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9760cd;
/* rgb */ color: rgb(151, 96, 205);
/* oklch */ color: oklch(59.7% 0.166 305.2);
Tailwind
colors: {
  custom: {
    50: '#b88fdd',
    500: '#9760cd',
    950: '#000000',
  },
}
SCSS
$custom: #9760cd;
$custom-light: #b88fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#9760cd",
  "rgb": {
    "r": 151,
    "g": 96,
    "b": 205
  },
  "hsl": {
    "h": 270.275,
    "s": 52.153,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59656,
    "c": 0.16624,
    "h": 305.2
  },
  "luminance": 0.19353
}

Semantic roles & 50–950 ramp

primary
#9760CD
secondary
#C4DAAF
accent
#DC4C93
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9760CD

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

Preview Lab → · Contrast checker → · Palette generator →

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