#7941D7#7941D7

#7941D7 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.8% C 0.215 H 295.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#7941D7
RGBrgb(121, 65, 215)
HSLhsl(262, 65%, 55%)
HSVhsv(262, 70%, 84%)
CMYKcmyk(43.7%, 69.8%, 0%, 15.7%)
CIE-LABlab(42.39, 55.51, -68.23)
CIE-LCHlch(42.39, 87.96, 309.13°)
OKLaboklab(52.79% 0.0912 -0.1952)
OKLCHoklch(52.79% 0.215 295)
XYZxyz(22.0379, 12.7513, 65.5769)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7941D7 #9FD741
analogous
#4154D7 #7941D7 #C441D7
triadic
#7941D7 #D77941 #41D779
tetradic
#7941D7 #D74154 #9FD741 #41D7C4
square
#7941D7 #D74154 #9FD741 #41D7C4
split-complementary
#7941D7 #D7C441 #54D741
monochromatic
#421B82 #5B26B5 #7941D7 #9D74E2 #C0A6EC

Accessibility & contrast

On white

5.91
#7941D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7941D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7941D7
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7941D7#FFFFFF#000000##FFFFFF
##7941D71.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DB
Deuteranopia (green-blind)
#0062D4
Tritanopia (blue-blind)
#5F6787
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7941d7;
/* rgb */ color: rgb(121, 65, 215);
/* oklch */ color: oklch(52.8% 0.215 295.0);
Tailwind
colors: {
  custom: {
    50: '#a77ae4',
    500: '#7941d7',
    950: '#000000',
  },
}
SCSS
$custom: #7941d7;
$custom-light: #a77ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#7941d7",
  "rgb": {
    "r": 121,
    "g": 65,
    "b": 215
  },
  "hsl": {
    "h": 262.4,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52787,
    "c": 0.21549,
    "h": 295
  },
  "luminance": 0.12752
}

Semantic roles & 50–950 ramp

primary
#7941D7
secondary
#C2D99A
accent
#E840A9
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #7941D7

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

Preview Lab → · Contrast checker → · Palette generator →

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