#7959EE#7959EE

#7959EE is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 57.9% C 0.213 H 287.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7959EE
RGBrgb(121, 89, 238)
HSLhsl(253, 81%, 64%)
HSVhsv(253, 63%, 93%)
CMYKcmyk(49.2%, 62.6%, 0%, 6.7%)
CIE-LABlab(48.74, 49.18, -70.94)
CIE-LCHlch(48.74, 86.32, 304.73°)
OKLaboklab(57.9% 0.0648 -0.2033)
OKLCHoklch(57.9% 0.213 287.7)
XYZxyz(26.8856, 17.3815, 82.8107)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7959EE #CEEE59
analogous
#5984EE #7959EE #C459EE
triadic
#7959EE #EE7959 #59EE79
tetradic
#7959EE #EE5984 #CEEE59 #59EEC4
square
#7959EE #EE5984 #CEEE59 #59EEC4
split-complementary
#7959EE #EEC459 #84EE59
monochromatic
#3713BA #4C21E8 #7959EE #A691F4 #D3C8F9

Accessibility & contrast

On white

4.69
#7959EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7959EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7959EE
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7959EE#FFFFFF#000000##FFFFFF
##7959EE1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F3
Deuteranopia (green-blind)
#0070EB
Tritanopia (blue-blind)
#507D9B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7959ee;
/* rgb */ color: rgb(121, 89, 238);
/* oklch */ color: oklch(57.9% 0.213 287.7);
Tailwind
colors: {
  custom: {
    50: '#a889f5',
    500: '#7959ee',
    950: '#000000',
  },
}
SCSS
$custom: #7959ee;
$custom-light: #a889f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7959ee",
  "rgb": {
    "r": 121,
    "g": 89,
    "b": 238
  },
  "hsl": {
    "h": 252.886,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.579,
    "c": 0.21334,
    "h": 287.7
  },
  "luminance": 0.17383
}

Semantic roles & 50–950 ramp

primary
#7959EE
secondary
#E0EBB7
accent
#DE08B0
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7959EE

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

Preview Lab → · Contrast checker → · Palette generator →

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