#7941CA#7941CA

#7941CA is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.8% C 0.201 H 297.7°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7941CA
RGBrgb(121, 65, 202)
HSLhsl(265, 56%, 52%)
HSVhsv(265, 68%, 79%)
CMYKcmyk(40.1%, 67.8%, 0%, 20.8%)
CIE-LABlab(41.39, 52.16, -62.36)
CIE-LCHlch(41.39, 81.30, 309.91°)
OKLaboklab(51.76% 0.0933 -0.178)
OKLCHoklch(51.76% 0.201 297.7)
XYZxyz(20.4334, 12.1095, 57.1265)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7941CA #92CA41
analogous
#414DCA #7941CA #BE41CA
triadic
#7941CA #CA7941 #41CA79
tetradic
#7941CA #CA414D #92CA41 #41CABE
square
#7941CA #CA414D #92CA41 #41CABE
split-complementary
#7941CA #CABE41 #4DCA41
monochromatic
#412071 #5C2DA1 #7941CA #9B71D7 #BCA1E5

Accessibility & contrast

On white

6.14
#7941CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7941CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7941CA
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7941CA#FFFFFF#000000##FFFFFF
##7941CA1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#656280
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7941ca;
/* rgb */ color: rgb(121, 65, 202);
/* oklch */ color: oklch(51.8% 0.201 297.7);
Tailwind
colors: {
  custom: {
    50: '#a679db',
    500: '#7941ca',
    950: '#000000',
  },
}
SCSS
$custom: #7941ca;
$custom-light: #a679db;
$custom-dark: #000000;
JSON
{
  "hex": "#7941ca",
  "rgb": {
    "r": 121,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 264.526,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51764,
    "c": 0.20096,
    "h": 297.7
  },
  "luminance": 0.1211
}

Semantic roles & 50–950 ramp

primary
#7941CA
secondary
#B9D196
accent
#E048A2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7941CA

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

Preview Lab → · Contrast checker → · Palette generator →

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