#7959F0#7959F0

#7959F0 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.1% C 0.216 H 287.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7959F0
RGBrgb(121, 89, 240)
HSLhsl(253, 83%, 65%)
HSVhsv(253, 63%, 94%)
CMYKcmyk(49.6%, 62.9%, 0%, 5.9%)
CIE-LABlab(48.88, 49.75, -71.83)
CIE-LCHlch(48.88, 87.37, 304.71°)
OKLaboklab(58.05% 0.0646 -0.2059)
OKLCHoklch(58.05% 0.216 287.4)
XYZxyz(27.1811, 17.4997, 84.3668)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7959F0 #D0F059
analogous
#5985F0 #7959F0 #C459F0
triadic
#7959F0 #F07959 #59F079
tetradic
#7959F0 #F05985 #D0F059 #59F0C4
square
#7959F0 #F05985 #D0F059 #59F0C4
split-complementary
#7959F0 #F0C459 #85F059
monochromatic
#3611BD #4C21EB #7959F0 #A691F5 #D4C9FA

Accessibility & contrast

On white

4.67
#7959F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#7959F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7959F0
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7959F0#FFFFFF#000000##FFFFFF
##7959F01.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F5
Deuteranopia (green-blind)
#0070ED
Tritanopia (blue-blind)
#4E7D9C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7959f0;
/* rgb */ color: rgb(121, 89, 240);
/* oklch */ color: oklch(58.1% 0.216 287.4);
Tailwind
colors: {
  custom: {
    50: '#a989f6',
    500: '#7959f0',
    950: '#000000',
  },
}
SCSS
$custom: #7959f0;
$custom-light: #a989f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7959f0",
  "rgb": {
    "r": 121,
    "g": 89,
    "b": 240
  },
  "hsl": {
    "h": 252.715,
    "s": 83.425,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58052,
    "c": 0.21576,
    "h": 287.4
  },
  "luminance": 0.17501
}

Semantic roles & 50–950 ramp

primary
#7959F0
secondary
#E1ECB8
accent
#E006B2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7959F0

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

Preview Lab → · Contrast checker → · Palette generator →

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