#7941C8#7941C8

#7941C8 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.6% C 0.199 H 298.1°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#7941C8
RGBrgb(121, 65, 200)
HSLhsl(265, 55%, 52%)
HSVhsv(265, 68%, 78%)
CMYKcmyk(39.5%, 67.5%, 0%, 21.6%)
CIE-LABlab(41.24, 51.65, -61.44)
CIE-LCHlch(41.24, 80.27, 310.05°)
OKLaboklab(51.61% 0.0936 -0.1753)
OKLCHoklch(51.61% 0.199 298.1)
XYZxyz(20.1981, 12.0154, 55.8874)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7941C8 #90C841
analogous
#414DC8 #7941C8 #BD41C8
triadic
#7941C8 #C87941 #41C879
tetradic
#7941C8 #C8414D #90C841 #41C8BD
square
#7941C8 #C8414D #90C841 #41C8BD
split-complementary
#7941C8 #C8BD41 #4DC841
monochromatic
#41206F #5C2E9E #7941C8 #9A70D6 #BCA0E3

Accessibility & contrast

On white

6.17
#7941C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7941C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7941C8
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7941C8#FFFFFF#000000##FFFFFF
##7941C81.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#66617F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7941c8;
/* rgb */ color: rgb(121, 65, 200);
/* oklch */ color: oklch(51.6% 0.199 298.1);
Tailwind
colors: {
  custom: {
    50: '#a679da',
    500: '#7941c8',
    950: '#000000',
  },
}
SCSS
$custom: #7941c8;
$custom-light: #a679da;
$custom-dark: #000000;
JSON
{
  "hex": "#7941c8",
  "rgb": {
    "r": 121,
    "g": 65,
    "b": 200
  },
  "hsl": {
    "h": 264.889,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51611,
    "c": 0.1987,
    "h": 298.1
  },
  "luminance": 0.12016
}

Semantic roles & 50–950 ramp

primary
#7941C8
secondary
#B7D095
accent
#DE49A1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7941C8

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

Preview Lab → · Contrast checker → · Palette generator →

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