#7961EA#7961EA

#7961EA is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.9% C 0.198 H 286.7°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7961EA
RGBrgb(121, 97, 234)
HSLhsl(251, 77%, 65%)
HSVhsv(251, 59%, 92%)
CMYKcmyk(48.3%, 58.5%, 0%, 8.2%)
CIE-LABlab(50.16, 43.54, -66.39)
CIE-LCHlch(50.16, 79.39, 303.26°)
OKLaboklab(58.85% 0.0568 -0.1898)
OKLCHoklch(58.85% 0.198 286.7)
XYZxyz(27.0068, 18.5536, 79.9841)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7961EA #D2EA61
analogous
#618EEA #7961EA #BE61EA
triadic
#7961EA #EA7961 #61EA79
tetradic
#7961EA #EA618E #D2EA61 #61EABE
square
#7961EA #EA618E #D2EA61 #61EABE
split-complementary
#7961EA #EABE61 #8EEA61
monochromatic
#3418B8 #4B2BE3 #7961EA #A797F1 #D5CDF8

Accessibility & contrast

On white

4.46
#7961EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#7961EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7961EA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7961EA#FFFFFF#000000##000000
##7961EA1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEF
Deuteranopia (green-blind)
#0073E7
Tritanopia (blue-blind)
#52819C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7961ea;
/* rgb */ color: rgb(121, 97, 234);
/* oklch */ color: oklch(58.9% 0.198 286.7);
Tailwind
colors: {
  custom: {
    50: '#a78ff2',
    500: '#7961ea',
    950: '#000000',
  },
}
SCSS
$custom: #7961ea;
$custom-light: #a78ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#7961ea",
  "rgb": {
    "r": 121,
    "g": 97,
    "b": 234
  },
  "hsl": {
    "h": 250.511,
    "s": 76.536,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58851,
    "c": 0.19817,
    "h": 286.7
  },
  "luminance": 0.18555
}

Semantic roles & 50–950 ramp

primary
#7961EA
secondary
#E3EBBC
accent
#D90DB5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7961EA

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

Preview Lab → · Contrast checker → · Palette generator →

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