#7959DB#7959DB

#7959DB is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.5% C 0.190 H 290.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7959DB
RGBrgb(121, 89, 219)
HSLhsl(255, 64%, 60%)
HSVhsv(255, 59%, 86%)
CMYKcmyk(44.7%, 59.4%, 0%, 14.1%)
CIE-LABlab(47.40, 43.82, -62.38)
CIE-LCHlch(47.40, 76.24, 305.09°)
OKLaboklab(56.5% 0.066 -0.1781)
OKLCHoklch(56.5% 0.19 290.3)
XYZxyz(24.2401, 16.3233, 68.8776)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7959DB #BBDB59
analogous
#597ADB #7959DB #BA59DB
triadic
#7959DB #DB7959 #59DB79
tetradic
#7959DB #DB597A #BBDB59 #59DBBA
square
#7959DB #DB597A #BBDB59 #59DBBA
split-complementary
#7959DB #DBBA59 #7ADB59
monochromatic
#3E2199 #532CCB #7959DB #A28BE6 #CABEF1

Accessibility & contrast

On white

4.92
#7959DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7959DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7959DB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7959DB#FFFFFF#000000##FFFFFF
##7959DB1.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#006DD8
Tritanopia (blue-blind)
#5B7691
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7959db;
/* rgb */ color: rgb(121, 89, 219);
/* oklch */ color: oklch(56.5% 0.190 290.3);
Tailwind
colors: {
  custom: {
    50: '#a689e7',
    500: '#7959db',
    950: '#000000',
  },
}
SCSS
$custom: #7959db;
$custom-light: #a689e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7959db",
  "rgb": {
    "r": 121,
    "g": 89,
    "b": 219
  },
  "hsl": {
    "h": 254.769,
    "s": 64.356,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56498,
    "c": 0.18991,
    "h": 290.3
  },
  "luminance": 0.16324
}

Semantic roles & 50–950 ramp

primary
#7959DB
secondary
#D5E1AF
accent
#CC19A0
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7959DB

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

Preview Lab → · Contrast checker → · Palette generator →

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