#7941B7#7941B7

#7941B7 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.3% C 0.179 H 302.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#7941B7
RGBrgb(121, 65, 183)
HSLhsl(268, 48%, 49%)
HSVhsv(268, 64%, 72%)
CMYKcmyk(33.9%, 64.5%, 0%, 28.2%)
CIE-LABlab(40.02, 47.35, -53.48)
CIE-LCHlch(40.02, 71.43, 311.52°)
OKLaboklab(50.35% 0.0955 -0.1519)
OKLCHoklch(50.35% 0.179 302.2)
XYZxyz(18.3207, 11.2644, 45.9996)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7941B7 #7FB741
analogous
#4144B7 #7941B7 #B441B7
triadic
#7941B7 #B77941 #41B779
tetradic
#7941B7 #B74144 #7FB741 #41B7B4
square
#7941B7 #B74144 #7FB741 #41B7B4
split-complementary
#7941B7 #B7B441 #44B741
monochromatic
#3D215D #5B318A #7941B7 #986BCA #B898DA

Accessibility & contrast

On white

6.46
#7941B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#7941B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7941B7
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7941B7#FFFFFF#000000##FFFFFF
##7941B71.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#165EB4
Tritanopia (blue-blind)
#6C5B76
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7941b7;
/* rgb */ color: rgb(121, 65, 183);
/* oklch */ color: oklch(50.3% 0.179 302.2);
Tailwind
colors: {
  custom: {
    50: '#a479cd',
    500: '#7941b7',
    950: '#000000',
  },
}
SCSS
$custom: #7941b7;
$custom-light: #a479cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7941b7",
  "rgb": {
    "r": 121,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 268.475,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5035,
    "c": 0.17939,
    "h": 302.2
  },
  "luminance": 0.11264
}

Semantic roles & 50–950 ramp

primary
#7941B7
secondary
#ABC68E
accent
#D75197
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7941B7

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

Preview Lab → · Contrast checker → · Palette generator →

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