#7961DA#7961DA

#7961DA is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.7% C 0.178 H 288.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7961DA
RGBrgb(121, 97, 218)
HSLhsl(252, 62%, 62%)
HSVhsv(252, 56%, 85%)
CMYKcmyk(44.5%, 55.5%, 0%, 14.5%)
CIE-LABlab(49.10, 38.95, -59.06)
CIE-LCHlch(49.10, 70.75, 303.40°)
OKLaboklab(57.73% 0.057 -0.1683)
OKLCHoklch(57.73% 0.178 288.7)
XYZxyz(24.8112, 17.6754, 68.4205)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7961DA #C2DA61
analogous
#6186DA #7961DA #B661DA
triadic
#7961DA #DA7961 #61DA79
tetradic
#7961DA #DA6186 #C2DA61 #61DAB6
square
#7961DA #DA6186 #C2DA61 #61DAB6
split-complementary
#7961DA #DAB661 #86DA61
monochromatic
#3C259C #4F30CE #7961DA #A393E6 #CDC4F1

Accessibility & contrast

On white

4.63
#7961DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#7961DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7961DA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7961DA#FFFFFF#000000##FFFFFF
##7961DA1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C77DE
Deuteranopia (green-blind)
#1E72D7
Tritanopia (blue-blind)
#5B7B94
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7961da;
/* rgb */ color: rgb(121, 97, 218);
/* oklch */ color: oklch(57.7% 0.178 288.7);
Tailwind
colors: {
  custom: {
    50: '#a68ee6',
    500: '#7961da',
    950: '#000000',
  },
}
SCSS
$custom: #7961da;
$custom-light: #a68ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#7961da",
  "rgb": {
    "r": 121,
    "g": 97,
    "b": 218
  },
  "hsl": {
    "h": 251.901,
    "s": 62.051,
    "l": 61.765
  },
  "oklch": {
    "l": 0.57731,
    "c": 0.17768,
    "h": 288.7
  },
  "luminance": 0.17676
}

Semantic roles & 50–950 ramp

primary
#7961DA
secondary
#D9E2B5
accent
#CA1CA7
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7961DA

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

Preview Lab → · Contrast checker → · Palette generator →

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