#7959EA#7959EA

#7959EA is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.6% C 0.208 H 288.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7959EA
RGBrgb(121, 89, 234)
HSLhsl(253, 78%, 63%)
HSVhsv(253, 62%, 92%)
CMYKcmyk(48.3%, 62%, 0%, 8.2%)
CIE-LABlab(48.45, 48.05, -69.17)
CIE-LCHlch(48.45, 84.22, 304.79°)
OKLaboklab(57.6% 0.0651 -0.198)
OKLCHoklch(57.6% 0.208 288.2)
XYZxyz(26.3045, 17.1491, 79.7500)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7959EA #CAEA59
analogous
#5981EA #7959EA #C159EA
triadic
#7959EA #EA7959 #59EA79
tetradic
#7959EA #EA5981 #CAEA59 #59EAC1
square
#7959EA #EA5981 #CAEA59 #59EAC1
split-complementary
#7959EA #EAC159 #81EA59
monochromatic
#3917B2 #4D23E3 #7959EA #A58FF1 #D1C6F8

Accessibility & contrast

On white

4.74
#7959EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7959EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7959EA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7959EA#FFFFFF#000000##FFFFFF
##7959EA1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EF
Deuteranopia (green-blind)
#006FE7
Tritanopia (blue-blind)
#527B99
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7959ea;
/* rgb */ color: rgb(121, 89, 234);
/* oklch */ color: oklch(57.6% 0.208 288.2);
Tailwind
colors: {
  custom: {
    50: '#a889f2',
    500: '#7959ea',
    950: '#000000',
  },
}
SCSS
$custom: #7959ea;
$custom-light: #a889f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7959ea",
  "rgb": {
    "r": 121,
    "g": 89,
    "b": 234
  },
  "hsl": {
    "h": 253.241,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57598,
    "c": 0.20846,
    "h": 288.2
  },
  "luminance": 0.1715
}

Semantic roles & 50–950 ramp

primary
#7959EA
secondary
#DEE9B6
accent
#DA0CAC
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7959EA

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

Preview Lab → · Contrast checker → · Palette generator →

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