#7959EB#7959EB

#7959EB is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.7% C 0.210 H 288.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7959EB
RGBrgb(121, 89, 235)
HSLhsl(253, 78%, 64%)
HSVhsv(253, 62%, 92%)
CMYKcmyk(48.5%, 62.1%, 0%, 7.8%)
CIE-LABlab(48.52, 48.33, -69.61)
CIE-LCHlch(48.52, 84.74, 304.77°)
OKLaboklab(57.67% 0.065 -0.1993)
OKLCHoklch(57.67% 0.21 288.1)
XYZxyz(26.4486, 17.2067, 80.5088)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7959EB #CBEB59
analogous
#5982EB #7959EB #C259EB
triadic
#7959EB #EB7959 #59EB79
tetradic
#7959EB #EB5982 #CBEB59 #59EBC2
square
#7959EB #EB5982 #CBEB59 #59EBC2
split-complementary
#7959EB #EBC259 #82EB59
monochromatic
#3816B4 #4D22E4 #7959EB #A590F2 #D1C6F8

Accessibility & contrast

On white

4.73
#7959EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#7959EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7959EB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7959EB#FFFFFF#000000##FFFFFF
##7959EB1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#006FE8
Tritanopia (blue-blind)
#527C9A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7959eb;
/* rgb */ color: rgb(121, 89, 235);
/* oklch */ color: oklch(57.7% 0.210 288.1);
Tailwind
colors: {
  custom: {
    50: '#a889f2',
    500: '#7959eb',
    950: '#000000',
  },
}
SCSS
$custom: #7959eb;
$custom-light: #a889f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7959eb",
  "rgb": {
    "r": 121,
    "g": 89,
    "b": 235
  },
  "hsl": {
    "h": 253.151,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57673,
    "c": 0.20968,
    "h": 288.1
  },
  "luminance": 0.17208
}

Semantic roles & 50–950 ramp

primary
#7959EB
secondary
#DEEAB6
accent
#DB0BAD
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7959EB

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

Preview Lab → · Contrast checker → · Palette generator →

#7959EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva