#7961CD#7961CD

#7961CD is a mid, vivid violet. Relative luminance 0.170; OKLCH L 56.9% C 0.161 H 290.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7961CD
RGBrgb(121, 97, 205)
HSLhsl(253, 52%, 59%)
HSVhsv(253, 53%, 80%)
CMYKcmyk(41%, 52.7%, 0%, 19.6%)
CIE-LABlab(48.29, 35.27, -52.96)
CIE-LCHlch(48.29, 63.63, 303.67°)
OKLaboklab(56.87% 0.0565 -0.1504)
OKLCHoklch(56.87% 0.161 290.6)
XYZxyz(23.1763, 17.0214, 59.8101)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7961CD #B5CD61
analogous
#617FCD #7961CD #AF61CD
triadic
#7961CD #CD7961 #61CD79
tetradic
#7961CD #CD617F #B5CD61 #61CDAF
square
#7961CD #CD617F #B5CD61 #61CDAF
split-complementary
#7961CD #CDAF61 #7FCD61
monochromatic
#402B88 #563AB7 #7961CD #A08FDC #C8BEEA

Accessibility & contrast

On white

4.77
#7961CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#7961CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7961CD
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7961CD#FFFFFF#000000##FFFFFF
##7961CD1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3075D1
Deuteranopia (green-blind)
#3470CB
Tritanopia (blue-blind)
#62788E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7961cd;
/* rgb */ color: rgb(121, 97, 205);
/* oklch */ color: oklch(56.9% 0.161 290.6);
Tailwind
colors: {
  custom: {
    50: '#a48edd',
    500: '#7961cd',
    950: '#000000',
  },
}
SCSS
$custom: #7961cd;
$custom-light: #a48edd;
$custom-dark: #000000;
JSON
{
  "hex": "#7961cd",
  "rgb": {
    "r": 121,
    "g": 97,
    "b": 205
  },
  "hsl": {
    "h": 253.333,
    "s": 51.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56868,
    "c": 0.16063,
    "h": 290.6
  },
  "luminance": 0.17022
}

Semantic roles & 50–950 ramp

primary
#7961CD
secondary
#D1DAB0
accent
#DB4CBC
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7961CD

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

Preview Lab → · Contrast checker → · Palette generator →

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