#7961E8#7961E8

#7961E8 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.7% C 0.196 H 286.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7961E8
RGBrgb(121, 97, 232)
HSLhsl(251, 75%, 65%)
HSVhsv(251, 58%, 91%)
CMYKcmyk(47.8%, 58.2%, 0%, 9%)
CIE-LABlab(50.02, 42.96, -65.48)
CIE-LCHlch(50.02, 78.32, 303.27°)
OKLaboklab(58.71% 0.0569 -0.1872)
OKLCHoklch(58.71% 0.196 286.9)
XYZxyz(26.7211, 18.4393, 78.4795)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7961E8 #D0E861
analogous
#618CE8 #7961E8 #BD61E8
triadic
#7961E8 #E87961 #61E879
tetradic
#7961E8 #E8618C #D0E861 #61E8BD
square
#7961E8 #E8618C #D0E861 #61E8BD
split-complementary
#7961E8 #E8BD61 #8CE861
monochromatic
#361AB4 #4C2CE0 #7961E8 #A696F0 #D4CCF8

Accessibility & contrast

On white

4.48
#7961E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7961E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7961E8
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7961E8#FFFFFF#000000##000000
##7961E81.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#0073E5
Tritanopia (blue-blind)
#53809B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7961e8;
/* rgb */ color: rgb(121, 97, 232);
/* oklch */ color: oklch(58.7% 0.196 286.9);
Tailwind
colors: {
  custom: {
    50: '#a78ff0',
    500: '#7961e8',
    950: '#000000',
  },
}
SCSS
$custom: #7961e8;
$custom-light: #a78ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#7961e8",
  "rgb": {
    "r": 121,
    "g": 97,
    "b": 232
  },
  "hsl": {
    "h": 250.667,
    "s": 74.586,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58707,
    "c": 0.19564,
    "h": 286.9
  },
  "luminance": 0.18441
}

Semantic roles & 50–950 ramp

primary
#7961E8
secondary
#E1EABB
accent
#D70FB3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7961E8

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

Preview Lab → · Contrast checker → · Palette generator →

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