#7959F2#7959F2

#7959F2 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.2% C 0.218 H 287.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7959F2
RGBrgb(121, 89, 242)
HSLhsl(253, 85%, 65%)
HSVhsv(253, 63%, 95%)
CMYKcmyk(50%, 63.2%, 0%, 5.1%)
CIE-LABlab(49.03, 50.31, -72.71)
CIE-LCHlch(49.03, 88.42, 304.68°)
OKLaboklab(58.21% 0.0644 -0.2084)
OKLCHoklch(58.21% 0.218 287.2)
XYZxyz(27.4798, 17.6192, 85.9401)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7959F2 #D2F259
analogous
#5986F2 #7959F2 #C659F2
triadic
#7959F2 #F27959 #59F279
tetradic
#7959F2 #F25986 #D2F259 #59F2C6
square
#7959F2 #F25986 #D2F259 #59F2C6
split-complementary
#7959F2 #F2C659 #86F259
monochromatic
#340FC1 #4B20EE #7959F2 #A792F6 #D5CBFB

Accessibility & contrast

On white

4.64
#7959F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#7959F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7959F2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7959F2#FFFFFF#000000##FFFFFF
##7959F21.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F7
Deuteranopia (green-blind)
#0070EF
Tritanopia (blue-blind)
#4D7E9E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7959f2;
/* rgb */ color: rgb(121, 89, 242);
/* oklch */ color: oklch(58.2% 0.218 287.2);
Tailwind
colors: {
  custom: {
    50: '#a98af7',
    500: '#7959f2',
    950: '#000000',
  },
}
SCSS
$custom: #7959f2;
$custom-light: #a98af7;
$custom-dark: #000000;
JSON
{
  "hex": "#7959f2",
  "rgb": {
    "r": 121,
    "g": 89,
    "b": 242
  },
  "hsl": {
    "h": 252.549,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58205,
    "c": 0.21818,
    "h": 287.2
  },
  "luminance": 0.17621
}

Semantic roles & 50–950 ramp

primary
#7959F2
secondary
#E3EDB9
accent
#E204B3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7959F2

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

Preview Lab → · Contrast checker → · Palette generator →

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