#7961DF#7961DF

#7961DF is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.1% C 0.184 H 288.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7961DF
RGBrgb(121, 97, 223)
HSLhsl(251, 66%, 63%)
HSVhsv(251, 57%, 87%)
CMYKcmyk(45.7%, 56.5%, 0%, 12.5%)
CIE-LABlab(49.42, 40.37, -61.38)
CIE-LCHlch(49.42, 73.47, 303.34°)
OKLaboklab(58.08% 0.057 -0.1751)
OKLCHoklch(58.08% 0.184 288)
XYZxyz(25.4753, 17.9410, 71.9184)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7961DF #C7DF61
analogous
#6188DF #7961DF #B861DF
triadic
#7961DF #DF7961 #61DF79
tetradic
#7961DF #DF6188 #C7DF61 #61DFB8
square
#7961DF #DF6188 #C7DF61 #61DFB8
split-complementary
#7961DF #DFB861 #88DF61
monochromatic
#3A21A4 #4E2ED5 #7961DF #A494E9 #CFC7F4

Accessibility & contrast

On white

4.58
#7961DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#7961DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7961DF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7961DF#FFFFFF#000000##000000
##7961DF1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C78E3
Deuteranopia (green-blind)
#0F72DC
Tritanopia (blue-blind)
#597D97
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7961df;
/* rgb */ color: rgb(121, 97, 223);
/* oklch */ color: oklch(58.1% 0.184 288.0);
Tailwind
colors: {
  custom: {
    50: '#a68eea',
    500: '#7961df',
    950: '#000000',
  },
}
SCSS
$custom: #7961df;
$custom-light: #a68eea;
$custom-dark: #000000;
JSON
{
  "hex": "#7961df",
  "rgb": {
    "r": 121,
    "g": 97,
    "b": 223
  },
  "hsl": {
    "h": 251.429,
    "s": 66.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58075,
    "c": 0.18415,
    "h": 288
  },
  "luminance": 0.17942
}

Semantic roles & 50–950 ramp

primary
#7961DF
secondary
#DCE5B7
accent
#CE17AB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7961DF

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

Preview Lab → · Contrast checker → · Palette generator →

#7961DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva