#7961CE#7961CE

#7961CE is a mid, vivid violet. Relative luminance 0.171; OKLCH L 56.9% C 0.162 H 290.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7961CE
RGBrgb(121, 97, 206)
HSLhsl(253, 53%, 59%)
HSVhsv(253, 53%, 81%)
CMYKcmyk(41.3%, 52.9%, 0%, 19.2%)
CIE-LABlab(48.35, 35.55, -53.43)
CIE-LCHlch(48.35, 64.18, 303.64°)
OKLaboklab(56.93% 0.0566 -0.1517)
OKLCHoklch(56.93% 0.162 290.5)
XYZxyz(23.2974, 17.0698, 60.4479)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7961CE #B6CE61
analogous
#6180CE #7961CE #B061CE
triadic
#7961CE #CE7961 #61CE79
tetradic
#7961CE #CE6180 #B6CE61 #61CEB0
square
#7961CE #CE6180 #B6CE61 #61CEB0
split-complementary
#7961CE #CEB061 #80CE61
monochromatic
#402B8A #5539B9 #7961CE #A190DC #C8BEEB

Accessibility & contrast

On white

4.76
#7961CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#7961CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7961CE
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7961CE#FFFFFF#000000##FFFFFF
##7961CE1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F75D2
Deuteranopia (green-blind)
#3270CC
Tritanopia (blue-blind)
#61788E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7961ce;
/* rgb */ color: rgb(121, 97, 206);
/* oklch */ color: oklch(56.9% 0.162 290.5);
Tailwind
colors: {
  custom: {
    50: '#a48edd',
    500: '#7961ce',
    950: '#000000',
  },
}
SCSS
$custom: #7961ce;
$custom-light: #a48edd;
$custom-dark: #000000;
JSON
{
  "hex": "#7961ce",
  "rgb": {
    "r": 121,
    "g": 97,
    "b": 206
  },
  "hsl": {
    "h": 253.211,
    "s": 52.657,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56932,
    "c": 0.16195,
    "h": 290.5
  },
  "luminance": 0.17071
}

Semantic roles & 50–950 ramp

primary
#7961CE
secondary
#D1DBB0
accent
#DC4CBC
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7961CE

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

Preview Lab → · Contrast checker → · Palette generator →

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