#7959E8#7959E8

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

Color values

HEX#7959E8
RGBrgb(121, 89, 232)
HSLhsl(253, 76%, 63%)
HSVhsv(253, 62%, 91%)
CMYKcmyk(47.8%, 61.6%, 0%, 9%)
CIE-LABlab(48.30, 47.48, -68.27)
CIE-LCHlch(48.30, 83.16, 304.82°)
OKLaboklab(57.45% 0.0653 -0.1954)
OKLCHoklch(57.45% 0.206 288.5)
XYZxyz(26.0188, 17.0348, 78.2454)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7959E8 #C8E859
analogous
#5980E8 #7959E8 #C159E8
triadic
#7959E8 #E87959 #59E879
tetradic
#7959E8 #E85980 #C8E859 #59E8C1
square
#7959E8 #E85980 #C8E859 #59E8C1
split-complementary
#7959E8 #E8C159 #80E859
monochromatic
#3A18AE #4E23E1 #7959E8 #A48FEF #D0C5F7

Accessibility & contrast

On white

4.76
#7959E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#7959E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7959E8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7959E8#FFFFFF#000000##FFFFFF
##7959E81.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#006FE5
Tritanopia (blue-blind)
#547B98
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7959e8;
/* rgb */ color: rgb(121, 89, 232);
/* oklch */ color: oklch(57.4% 0.206 288.5);
Tailwind
colors: {
  custom: {
    50: '#a889f0',
    500: '#7959e8',
    950: '#000000',
  },
}
SCSS
$custom: #7959e8;
$custom-light: #a889f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7959e8",
  "rgb": {
    "r": 121,
    "g": 89,
    "b": 232
  },
  "hsl": {
    "h": 253.427,
    "s": 75.661,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57448,
    "c": 0.20601,
    "h": 288.5
  },
  "luminance": 0.17036
}

Semantic roles & 50–950 ramp

primary
#7959E8
secondary
#DDE8B5
accent
#D80EAB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7959E8

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

Preview Lab → · Contrast checker → · Palette generator →

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