#7941D4#7941D4

#7941D4 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.5% C 0.212 H 295.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#7941D4
RGBrgb(121, 65, 212)
HSLhsl(263, 63%, 54%)
HSVhsv(263, 69%, 83%)
CMYKcmyk(42.9%, 69.3%, 0%, 16.9%)
CIE-LABlab(42.15, 54.73, -66.89)
CIE-LCHlch(42.15, 86.43, 309.29°)
OKLaboklab(52.55% 0.0917 -0.1913)
OKLCHoklch(52.55% 0.212 295.6)
XYZxyz(21.6560, 12.5985, 63.5654)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7941D4 #9CD441
analogous
#4153D4 #7941D4 #C241D4
triadic
#7941D4 #D47941 #41D479
tetradic
#7941D4 #D44153 #9CD441 #41D4C2
square
#7941D4 #D44153 #9CD441 #41D4C2
split-complementary
#7941D4 #D4C241 #53D441
monochromatic
#421D7E #5C28B0 #7941D4 #9C73DF #BFA5EB

Accessibility & contrast

On white

5.97
#7941D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7941D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7941D4
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7941D4#FFFFFF#000000##FFFFFF
##7941D41.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D8
Deuteranopia (green-blind)
#0061D1
Tritanopia (blue-blind)
#616586
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7941d4;
/* rgb */ color: rgb(121, 65, 212);
/* oklch */ color: oklch(52.5% 0.212 295.6);
Tailwind
colors: {
  custom: {
    50: '#a77ae2',
    500: '#7941d4',
    950: '#000000',
  },
}
SCSS
$custom: #7941d4;
$custom-light: #a77ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#7941d4",
  "rgb": {
    "r": 121,
    "g": 65,
    "b": 212
  },
  "hsl": {
    "h": 262.857,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52547,
    "c": 0.21215,
    "h": 295.6
  },
  "luminance": 0.12599
}

Semantic roles & 50–950 ramp

primary
#7941D4
secondary
#C0D899
accent
#E642A7
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100915
muted
#7F7B84

Preview Lab

Preview with #7941D4

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

Preview Lab → · Contrast checker → · Palette generator →

#7941D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva