#7959E7#7959E7

#7959E7 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.4% C 0.205 H 288.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7959E7
RGBrgb(121, 89, 231)
HSLhsl(254, 75%, 63%)
HSVhsv(254, 61%, 91%)
CMYKcmyk(47.6%, 61.5%, 0%, 9.4%)
CIE-LABlab(48.23, 47.20, -67.82)
CIE-LCHlch(48.23, 82.63, 304.83°)
OKLaboklab(57.37% 0.0653 -0.1941)
OKLCHoklch(57.37% 0.205 288.6)
XYZxyz(25.8772, 16.9781, 77.4994)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7959E7 #C7E759
analogous
#5980E7 #7959E7 #C059E7
triadic
#7959E7 #E77959 #59E779
tetradic
#7959E7 #E75980 #C7E759 #59E7C0
square
#7959E7 #E75980 #C7E759 #59E7C0
split-complementary
#7959E7 #E7C059 #80E759
monochromatic
#3A19AD #4E24DF #7959E7 #A48EEF #CFC4F6

Accessibility & contrast

On white

4.78
#7959E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#7959E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7959E7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7959E7#FFFFFF#000000##FFFFFF
##7959E71.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EC
Deuteranopia (green-blind)
#006FE4
Tritanopia (blue-blind)
#547A98
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7959e7;
/* rgb */ color: rgb(121, 89, 231);
/* oklch */ color: oklch(57.4% 0.205 288.6);
Tailwind
colors: {
  custom: {
    50: '#a889f0',
    500: '#7959e7',
    950: '#000000',
  },
}
SCSS
$custom: #7959e7;
$custom-light: #a889f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7959e7",
  "rgb": {
    "r": 121,
    "g": 89,
    "b": 231
  },
  "hsl": {
    "h": 253.521,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57374,
    "c": 0.20479,
    "h": 288.6
  },
  "luminance": 0.16979
}

Semantic roles & 50–950 ramp

primary
#7959E7
secondary
#DCE8B4
accent
#D70FAA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7959E7

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

Preview Lab → · Contrast checker → · Palette generator →

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