#7959E9#7959E9

#7959E9 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.5% C 0.207 H 288.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7959E9
RGBrgb(121, 89, 233)
HSLhsl(253, 77%, 63%)
HSVhsv(253, 62%, 91%)
CMYKcmyk(48.1%, 61.8%, 0%, 8.6%)
CIE-LABlab(48.38, 47.76, -68.72)
CIE-LCHlch(48.38, 83.69, 304.80°)
OKLaboklab(57.52% 0.0652 -0.1967)
OKLCHoklch(57.52% 0.207 288.3)
XYZxyz(26.1613, 17.0918, 78.9956)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7959E9 #C9E959
analogous
#5981E9 #7959E9 #C159E9
triadic
#7959E9 #E97959 #59E979
tetradic
#7959E9 #E95981 #C9E959 #59E9C1
square
#7959E9 #E95981 #C9E959 #59E9C1
split-complementary
#7959E9 #E9C159 #81E959
monochromatic
#3917B0 #4D23E2 #7959E9 #A58FF0 #D0C5F7

Accessibility & contrast

On white

4.75
#7959E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#7959E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7959E9
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7959E9#FFFFFF#000000##FFFFFF
##7959E91.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EE
Deuteranopia (green-blind)
#006FE6
Tritanopia (blue-blind)
#537B99
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7959e9;
/* rgb */ color: rgb(121, 89, 233);
/* oklch */ color: oklch(57.5% 0.207 288.3);
Tailwind
colors: {
  custom: {
    50: '#a889f1',
    500: '#7959e9',
    950: '#000000',
  },
}
SCSS
$custom: #7959e9;
$custom-light: #a889f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7959e9",
  "rgb": {
    "r": 121,
    "g": 89,
    "b": 233
  },
  "hsl": {
    "h": 253.333,
    "s": 76.596,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57523,
    "c": 0.20724,
    "h": 288.3
  },
  "luminance": 0.17093
}

Semantic roles & 50–950 ramp

primary
#7959E9
secondary
#DDE9B5
accent
#D90DAB
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7959E9

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

Preview Lab → · Contrast checker → · Palette generator →

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