#7959EC#7959EC

#7959EC is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 57.7% C 0.211 H 287.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7959EC
RGBrgb(121, 89, 236)
HSLhsl(253, 79%, 64%)
HSVhsv(253, 62%, 93%)
CMYKcmyk(48.7%, 62.3%, 0%, 7.5%)
CIE-LABlab(48.59, 48.61, -70.06)
CIE-LCHlch(48.59, 85.27, 304.76°)
OKLaboklab(57.75% 0.065 -0.2006)
OKLCHoklch(57.75% 0.211 287.9)
XYZxyz(26.5935, 17.2647, 81.2718)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7959EC #CCEC59
analogous
#5982EC #7959EC #C259EC
triadic
#7959EC #EC7959 #59EC79
tetradic
#7959EC #EC5982 #CCEC59 #59ECC2
square
#7959EC #EC5982 #CCEC59 #59ECC2
split-complementary
#7959EC #ECC259 #82EC59
monochromatic
#3815B6 #4D22E6 #7959EC #A590F2 #D2C7F9

Accessibility & contrast

On white

4.72
#7959EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#7959EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7959EC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7959EC#FFFFFF#000000##FFFFFF
##7959EC1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F1
Deuteranopia (green-blind)
#0070E9
Tritanopia (blue-blind)
#517C9A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7959ec;
/* rgb */ color: rgb(121, 89, 236);
/* oklch */ color: oklch(57.7% 0.211 287.9);
Tailwind
colors: {
  custom: {
    50: '#a889f3',
    500: '#7959ec',
    950: '#000000',
  },
}
SCSS
$custom: #7959ec;
$custom-light: #a889f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7959ec",
  "rgb": {
    "r": 121,
    "g": 89,
    "b": 236
  },
  "hsl": {
    "h": 253.061,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57748,
    "c": 0.2109,
    "h": 287.9
  },
  "luminance": 0.17266
}

Semantic roles & 50–950 ramp

primary
#7959EC
secondary
#DFEAB6
accent
#DC0AAE
background
#FAF8FF
surface
#F5F0FE
border
#CFCBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7959EC

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

Preview Lab → · Contrast checker → · Palette generator →

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