#7941CC#7941CC

#7941CC is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.9% C 0.203 H 297.2°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7941CC
RGBrgb(121, 65, 204)
HSLhsl(264, 58%, 53%)
HSVhsv(264, 68%, 80%)
CMYKcmyk(40.7%, 68.1%, 0%, 20%)
CIE-LABlab(41.54, 52.67, -63.27)
CIE-LCHlch(41.54, 82.33, 309.78°)
OKLaboklab(51.92% 0.093 -0.1807)
OKLCHoklch(51.92% 0.203 297.2)
XYZxyz(20.6717, 12.2048, 58.3817)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7941CC #94CC41
analogous
#414ECC #7941CC #BF41CC
triadic
#7941CC #CC7941 #41CC79
tetradic
#7941CC #CC414E #94CC41 #41CCBF
square
#7941CC #CC414E #94CC41 #41CCBF
split-complementary
#7941CC #CCBF41 #4ECC41
monochromatic
#411F74 #5C2CA4 #7941CC #9B71D9 #BDA1E6

Accessibility & contrast

On white

6.10
#7941CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7941CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7941CC
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7941CC#FFFFFF#000000##FFFFFF
##7941CC1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#646281
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7941cc;
/* rgb */ color: rgb(121, 65, 204);
/* oklch */ color: oklch(51.9% 0.203 297.2);
Tailwind
colors: {
  custom: {
    50: '#a67adc',
    500: '#7941cc',
    950: '#000000',
  },
}
SCSS
$custom: #7941cc;
$custom-light: #a67adc;
$custom-dark: #000000;
JSON
{
  "hex": "#7941cc",
  "rgb": {
    "r": 121,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 264.173,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51919,
    "c": 0.2032,
    "h": 297.2
  },
  "luminance": 0.12205
}

Semantic roles & 50–950 ramp

primary
#7941CC
secondary
#BAD396
accent
#E147A3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7941CC

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

Preview Lab → · Contrast checker → · Palette generator →

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