#7941D9#7941D9

#7941D9 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.9% C 0.218 H 294.7°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7941D9
RGBrgb(121, 65, 217)
HSLhsl(262, 67%, 55%)
HSVhsv(262, 70%, 85%)
CMYKcmyk(44.2%, 70%, 0%, 14.9%)
CIE-LABlab(42.54, 56.03, -69.12)
CIE-LCHlch(42.54, 88.98, 309.03°)
OKLaboklab(52.95% 0.0908 -0.1979)
OKLCHoklch(52.95% 0.218 294.7)
XYZxyz(22.2965, 12.8547, 66.9386)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7941D9 #A1D941
analogous
#4155D9 #7941D9 #C541D9
triadic
#7941D9 #D97941 #41D979
tetradic
#7941D9 #D94155 #A1D941 #41D9C5
square
#7941D9 #D94155 #A1D941 #41D9C5
split-complementary
#7941D9 #D9C541 #55D941
monochromatic
#421B85 #5B25B8 #7941D9 #9D74E3 #C1A7ED

Accessibility & contrast

On white

5.88
#7941D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7941D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7941D9
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7941D9#FFFFFF#000000##FFFFFF
##7941D91.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DD
Deuteranopia (green-blind)
#0062D6
Tritanopia (blue-blind)
#5E6789
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7941d9;
/* rgb */ color: rgb(121, 65, 217);
/* oklch */ color: oklch(52.9% 0.218 294.7);
Tailwind
colors: {
  custom: {
    50: '#a77ae6',
    500: '#7941d9',
    950: '#000000',
  },
}
SCSS
$custom: #7941d9;
$custom-light: #a77ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#7941d9",
  "rgb": {
    "r": 121,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 262.105,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52948,
    "c": 0.2177,
    "h": 294.7
  },
  "luminance": 0.12855
}

Semantic roles & 50–950 ramp

primary
#7941D9
secondary
#C3DB9B
accent
#EA3EAA
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #7941D9

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

Preview Lab → · Contrast checker → · Palette generator →

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