#7961BA#7961BA

#7961BA is a mid, vivid violet. Relative luminance 0.162; OKLCH L 55.7% C 0.135 H 294.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7961BA
RGBrgb(121, 97, 186)
HSLhsl(256, 39%, 55%)
HSVhsv(256, 48%, 73%)
CMYKcmyk(34.9%, 47.8%, 0%, 27.1%)
CIE-LABlab(47.18, 30.03, -43.76)
CIE-LCHlch(47.18, 53.07, 304.46°)
OKLaboklab(55.69% 0.0549 -0.1234)
OKLCHoklch(55.69% 0.135 294)
XYZxyz(21.0205, 16.1591, 48.4564)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7961BA #A2BA61
analogous
#6175BA #7961BA #A561BA
triadic
#7961BA #BA7961 #61BA79
tetradic
#7961BA #BA6175 #A2BA61 #61BAA5
square
#7961BA #BA6175 #A2BA61 #61BAA5
split-complementary
#7961BA #BAA561 #75BA61
monochromatic
#423170 #5B439A #7961BA #9D8CCD #C1B6DF

Accessibility & contrast

On white

4.96
#7961BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#7961BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7961BA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7961BA#FFFFFF#000000##FFFFFF
##7961BA1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4271BD
Deuteranopia (green-blind)
#466EB8
Tritanopia (blue-blind)
#6A7285
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7961ba;
/* rgb */ color: rgb(121, 97, 186);
/* oklch */ color: oklch(55.7% 0.135 294.0);
Tailwind
colors: {
  custom: {
    50: '#a38ecf',
    500: '#7961ba',
    950: '#000000',
  },
}
SCSS
$custom: #7961ba;
$custom-light: #a38ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#7961ba",
  "rgb": {
    "r": 121,
    "g": 97,
    "b": 186
  },
  "hsl": {
    "h": 256.18,
    "s": 39.207,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55686,
    "c": 0.13507,
    "h": 294
  },
  "luminance": 0.1616
}

Semantic roles & 50–950 ramp

primary
#7961BA
secondary
#C4CEA9
accent
#CF59AF
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7961BA

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

Preview Lab → · Contrast checker → · Palette generator →

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