#7959BF#7959BF

#7959BF is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.6% C 0.154 H 295.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7959BF
RGBrgb(121, 89, 191)
HSLhsl(259, 44%, 55%)
HSVhsv(259, 53%, 75%)
CMYKcmyk(36.6%, 53.4%, 0%, 25.1%)
CIE-LABlab(45.59, 36.10, -49.20)
CIE-LCHlch(45.59, 61.02, 306.27°)
OKLaboklab(54.6% 0.0659 -0.1393)
OKLCHoklch(54.6% 0.154 295.3)
XYZxyz(20.8591, 14.9709, 51.0708)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7959BF #9FBF59
analogous
#596CBF #7959BF #AC59BF
triadic
#7959BF #BF7959 #59BF79
tetradic
#7959BF #BF596C #9FBF59 #59BFAC
square
#7959BF #BF596C #9FBF59 #59BFAC
split-complementary
#7959BF #BFAC59 #6CBF59
monochromatic
#422C72 #5B3D9E #7959BF #9D85D0 #C0B1E1

Accessibility & contrast

On white

5.26
#7959BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7959BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7959BF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7959BF#FFFFFF#000000##FFFFFF
##7959BF1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6DC2
Deuteranopia (green-blind)
#366ABD
Tritanopia (blue-blind)
#686E83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7959bf;
/* rgb */ color: rgb(121, 89, 191);
/* oklch */ color: oklch(54.6% 0.154 295.3);
Tailwind
colors: {
  custom: {
    50: '#a389d3',
    500: '#7959bf',
    950: '#000000',
  },
}
SCSS
$custom: #7959bf;
$custom-light: #a389d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7959bf",
  "rgb": {
    "r": 121,
    "g": 89,
    "b": 191
  },
  "hsl": {
    "h": 258.824,
    "s": 44.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54595,
    "c": 0.15411,
    "h": 295.3
  },
  "luminance": 0.14971
}

Semantic roles & 50–950 ramp

primary
#7959BF
secondary
#C2CFA4
accent
#D454AC
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7959BF

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

Preview Lab → · Contrast checker → · Palette generator →

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