#7959F7#7959F7

#7959F7 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.6% C 0.224 H 286.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7959F7
RGBrgb(121, 89, 247)
HSLhsl(252, 91%, 66%)
HSVhsv(252, 64%, 97%)
CMYKcmyk(51%, 64%, 0%, 3.1%)
CIE-LABlab(49.40, 51.73, -74.90)
CIE-LCHlch(49.40, 91.03, 304.63°)
OKLaboklab(58.59% 0.0639 -0.2149)
OKLCHoklch(58.59% 0.224 286.6)
XYZxyz(28.2411, 17.9237, 89.9492)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7959F7 #D7F759
analogous
#5988F7 #7959F7 #C859F7
triadic
#7959F7 #F77959 #59F779
tetradic
#7959F7 #F75988 #D7F759 #59F7C8
square
#7959F7 #F75988 #D7F759 #59F7C8
split-complementary
#7959F7 #F7C859 #88F759
monochromatic
#310ACC #4A1FF4 #7959F7 #A893FA #D7CEFD

Accessibility & contrast

On white

4.58
#7959F7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#7959F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7959F7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7959F7#FFFFFF#000000##000000
##7959F71.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079FC
Deuteranopia (green-blind)
#0071F4
Tritanopia (blue-blind)
#4980A0
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7959f7;
/* rgb */ color: rgb(121, 89, 247);
/* oklch */ color: oklch(58.6% 0.224 286.6);
Tailwind
colors: {
  custom: {
    50: '#aa8afb',
    500: '#7959f7',
    950: '#000000',
  },
}
SCSS
$custom: #7959f7;
$custom-light: #aa8afb;
$custom-dark: #000000;
JSON
{
  "hex": "#7959f7",
  "rgb": {
    "r": 121,
    "g": 89,
    "b": 247
  },
  "hsl": {
    "h": 252.152,
    "s": 90.805,
    "l": 65.882
  },
  "oklch": {
    "l": 0.58591,
    "c": 0.22419,
    "h": 286.6
  },
  "luminance": 0.17925
}

Semantic roles & 50–950 ramp

primary
#7959F7
secondary
#E5F0BC
accent
#E600B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7959F7

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

Preview Lab → · Contrast checker → · Palette generator →

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