#7941C0#7941C0

#7941C0 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.0% C 0.190 H 299.9°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#7941C0
RGBrgb(121, 65, 192)
HSLhsl(266, 50%, 50%)
HSVhsv(266, 66%, 75%)
CMYKcmyk(37%, 66.1%, 0%, 24.7%)
CIE-LABlab(40.66, 49.61, -57.73)
CIE-LCHlch(40.66, 76.12, 310.67°)
OKLaboklab(51.01% 0.0946 -0.1644)
OKLCHoklch(51.01% 0.19 299.9)
XYZxyz(19.2875, 11.6511, 51.0917)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7941C0 #88C041
analogous
#4148C0 #7941C0 #B941C0
triadic
#7941C0 #C07941 #41C079
tetradic
#7941C0 #C04148 #88C041 #41C0B9
square
#7941C0 #C04148 #88C041 #41C0B9
split-complementary
#7941C0 #C0B941 #48C041
monochromatic
#3F2265 #5C3193 #7941C0 #996FCF #BA9DDE

Accessibility & contrast

On white

6.31
#7941C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7941C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7941C0
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7941C0#FFFFFF#000000##FFFFFF
##7941C01.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C4
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#695E7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7941c0;
/* rgb */ color: rgb(121, 65, 192);
/* oklch */ color: oklch(51.0% 0.190 299.9);
Tailwind
colors: {
  custom: {
    50: '#a579d4',
    500: '#7941c0',
    950: '#000000',
  },
}
SCSS
$custom: #7941c0;
$custom-light: #a579d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7941c0",
  "rgb": {
    "r": 121,
    "g": 65,
    "b": 192
  },
  "hsl": {
    "h": 266.457,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51007,
    "c": 0.18965,
    "h": 299.9
  },
  "luminance": 0.11651
}

Semantic roles & 50–950 ramp

primary
#7941C0
secondary
#B2CB92
accent
#DA4E9C
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7941C0

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

Preview Lab → · Contrast checker → · Palette generator →

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