#7959CF#7959CF

#7959CF is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.7% C 0.175 H 292.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7959CF
RGBrgb(121, 89, 207)
HSLhsl(256, 55%, 58%)
HSVhsv(256, 57%, 81%)
CMYKcmyk(41.5%, 57%, 0%, 18.8%)
CIE-LABlab(46.60, 40.48, -56.82)
CIE-LCHlch(46.60, 69.76, 305.47°)
OKLaboklab(55.66% 0.0662 -0.1617)
OKLCHoklch(55.66% 0.175 292.3)
XYZxyz(22.7170, 15.7141, 60.8556)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7959CF #AFCF59
analogous
#5974CF #7959CF #B459CF
triadic
#7959CF #CF7959 #59CF79
tetradic
#7959CF #CF5974 #AFCF59 #59CFB4
square
#7959CF #CF5974 #AFCF59 #59CFB4
split-complementary
#7959CF #CFB459 #74CF59
monochromatic
#412787 #5835B6 #7959CF #9F88DD #C6B8EA

Accessibility & contrast

On white

5.07
#7959CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7959CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7959CF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7959CF#FFFFFF#000000##FFFFFF
##7959CF1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1370D3
Deuteranopia (green-blind)
#1F6CCC
Tritanopia (blue-blind)
#62738B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7959cf;
/* rgb */ color: rgb(121, 89, 207);
/* oklch */ color: oklch(55.7% 0.175 292.3);
Tailwind
colors: {
  custom: {
    50: '#a589de',
    500: '#7959cf',
    950: '#000000',
  },
}
SCSS
$custom: #7959cf;
$custom-light: #a589de;
$custom-dark: #000000;
JSON
{
  "hex": "#7959cf",
  "rgb": {
    "r": 121,
    "g": 89,
    "b": 207
  },
  "hsl": {
    "h": 256.271,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55657,
    "c": 0.17476,
    "h": 292.3
  },
  "luminance": 0.15715
}

Semantic roles & 50–950 ramp

primary
#7959CF
secondary
#CDD9AA
accent
#DE49B6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7959CF

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

Preview Lab → · Contrast checker → · Palette generator →

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