#7961EF#7961EF

#7961EF is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.2% C 0.204 H 286.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7961EF
RGBrgb(121, 97, 239)
HSLhsl(250, 82%, 66%)
HSVhsv(250, 59%, 94%)
CMYKcmyk(49.4%, 59.4%, 0%, 6.3%)
CIE-LABlab(50.51, 44.98, -68.63)
CIE-LCHlch(50.51, 82.06, 303.24°)
OKLaboklab(59.21% 0.0567 -0.1965)
OKLCHoklch(59.21% 0.204 286.1)
XYZxyz(27.7352, 18.8450, 83.8207)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7961EF #D7EF61
analogous
#6190EF #7961EF #C061EF
triadic
#7961EF #EF7961 #61EF79
tetradic
#7961EF #EF6190 #D7EF61 #61EFC0
square
#7961EF #EF6190 #D7EF61 #61EFC0
split-complementary
#7961EF #EFC061 #90EF61
monochromatic
#3114C2 #4A29E9 #7961EF #A899F5 #D7D0FA

Accessibility & contrast

On white

4.40
#7961EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#7961EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7961EF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7961EF#FFFFFF#000000##000000
##7961EF1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#4E829F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7961ef;
/* rgb */ color: rgb(121, 97, 239);
/* oklch */ color: oklch(59.2% 0.204 286.1);
Tailwind
colors: {
  custom: {
    50: '#a88ff5',
    500: '#7961ef',
    950: '#000000',
  },
}
SCSS
$custom: #7961ef;
$custom-light: #a88ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#7961ef",
  "rgb": {
    "r": 121,
    "g": 97,
    "b": 239
  },
  "hsl": {
    "h": 250.141,
    "s": 81.609,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59213,
    "c": 0.20446,
    "h": 286.1
  },
  "luminance": 0.18846
}

Semantic roles & 50–950 ramp

primary
#7961EF
secondary
#E5EDBE
accent
#DE08BA
background
#FAF8FF
surface
#F5F0FE
border
#CFCBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7961EF

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

Preview Lab → · Contrast checker → · Palette generator →

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