#7959DC#7959DC

#7959DC is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.6% C 0.191 H 290.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7959DC
RGBrgb(121, 89, 220)
HSLhsl(255, 65%, 61%)
HSVhsv(255, 60%, 86%)
CMYKcmyk(45%, 59.5%, 0%, 13.7%)
CIE-LABlab(47.46, 44.10, -62.84)
CIE-LCHlch(47.46, 76.77, 305.06°)
OKLaboklab(56.57% 0.066 -0.1794)
OKLCHoklch(56.57% 0.191 290.2)
XYZxyz(24.3722, 16.3761, 69.5730)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7959DC #BCDC59
analogous
#597BDC #7959DC #BA59DC
triadic
#7959DC #DC7959 #59DC79
tetradic
#7959DC #DC597B #BCDC59 #59DCBA
square
#7959DC #DC597B #BCDC59 #59DCBA
split-complementary
#7959DC #DCBA59 #7BDC59
monochromatic
#3E209A #532BCD #7959DC #A28CE7 #CBBEF1

Accessibility & contrast

On white

4.91
#7959DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#7959DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7959DC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7959DC#FFFFFF#000000##FFFFFF
##7959DC1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#5B7792
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7959dc;
/* rgb */ color: rgb(121, 89, 220);
/* oklch */ color: oklch(56.6% 0.191 290.2);
Tailwind
colors: {
  custom: {
    50: '#a689e8',
    500: '#7959dc',
    950: '#000000',
  },
}
SCSS
$custom: #7959dc;
$custom-light: #a689e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7959dc",
  "rgb": {
    "r": 121,
    "g": 89,
    "b": 220
  },
  "hsl": {
    "h": 254.656,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5657,
    "c": 0.19117,
    "h": 290.2
  },
  "luminance": 0.16377
}

Semantic roles & 50–950 ramp

primary
#7959DC
secondary
#D5E1AF
accent
#CD18A1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7959DC

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

Preview Lab → · Contrast checker → · Palette generator →

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