#7959CE#7959CE

#7959CE is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.6% C 0.173 H 292.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7959CE
RGBrgb(121, 89, 206)
HSLhsl(256, 54%, 58%)
HSVhsv(256, 57%, 81%)
CMYKcmyk(41.3%, 56.8%, 0%, 19.2%)
CIE-LABlab(46.53, 40.20, -56.35)
CIE-LCHlch(46.53, 69.22, 305.51°)
OKLaboklab(55.59% 0.0662 -0.1603)
OKLCHoklch(55.59% 0.173 292.4)
XYZxyz(22.5951, 15.6653, 60.2138)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7959CE #AECE59
analogous
#5973CE #7959CE #B359CE
triadic
#7959CE #CE7959 #59CE79
tetradic
#7959CE #CE5973 #AECE59 #59CEB3
square
#7959CE #CE5973 #AECE59 #59CEB3
split-complementary
#7959CE #CEB359 #73CE59
monochromatic
#412785 #5835B5 #7959CE #9F88DC #C5B8EA

Accessibility & contrast

On white

5.08
#7959CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7959CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7959CE
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7959CE#FFFFFF#000000##FFFFFF
##7959CE1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1670D2
Deuteranopia (green-blind)
#216CCB
Tritanopia (blue-blind)
#62728B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7959ce;
/* rgb */ color: rgb(121, 89, 206);
/* oklch */ color: oklch(55.6% 0.173 292.4);
Tailwind
colors: {
  custom: {
    50: '#a589de',
    500: '#7959ce',
    950: '#000000',
  },
}
SCSS
$custom: #7959ce;
$custom-light: #a589de;
$custom-dark: #000000;
JSON
{
  "hex": "#7959ce",
  "rgb": {
    "r": 121,
    "g": 89,
    "b": 206
  },
  "hsl": {
    "h": 256.41,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55589,
    "c": 0.17348,
    "h": 292.4
  },
  "luminance": 0.15666
}

Semantic roles & 50–950 ramp

primary
#7959CE
secondary
#CCD9AA
accent
#DE4AB5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7959CE

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

Preview Lab → · Contrast checker → · Palette generator →

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