#7961EC#7961EC

#7961EC is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.0% C 0.201 H 286.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7961EC
RGBrgb(121, 97, 236)
HSLhsl(250, 79%, 65%)
HSVhsv(250, 59%, 93%)
CMYKcmyk(48.7%, 58.9%, 0%, 7.5%)
CIE-LABlab(50.30, 44.11, -67.29)
CIE-LCHlch(50.30, 80.46, 303.25°)
OKLaboklab(59% 0.0568 -0.1925)
OKLCHoklch(59% 0.201 286.4)
XYZxyz(27.2957, 18.6692, 81.5059)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7961EC #D4EC61
analogous
#618EEC #7961EC #BF61EC
triadic
#7961EC #EC7961 #61EC79
tetradic
#7961EC #EC618E #D4EC61 #61ECBF
square
#7961EC #EC618E #D4EC61 #61ECBF
split-complementary
#7961EC #ECBF61 #8EEC61
monochromatic
#3317BC #4B2AE5 #7961EC #A798F3 #D6CEF9

Accessibility & contrast

On white

4.44
#7961EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#7961EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7961EC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7961EC#FFFFFF#000000##000000
##7961EC1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#0074E9
Tritanopia (blue-blind)
#50819D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7961ec;
/* rgb */ color: rgb(121, 97, 236);
/* oklch */ color: oklch(59.0% 0.201 286.4);
Tailwind
colors: {
  custom: {
    50: '#a88ff3',
    500: '#7961ec',
    950: '#000000',
  },
}
SCSS
$custom: #7961ec;
$custom-light: #a88ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#7961ec",
  "rgb": {
    "r": 121,
    "g": 97,
    "b": 236
  },
  "hsl": {
    "h": 250.36,
    "s": 78.531,
    "l": 65.294
  },
  "oklch": {
    "l": 0.58995,
    "c": 0.20069,
    "h": 286.4
  },
  "luminance": 0.1867
}

Semantic roles & 50–950 ramp

primary
#7961EC
secondary
#E4ECBD
accent
#DB0BB7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7961EC

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

Preview Lab → · Contrast checker → · Palette generator →

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