#7941CF#7941CF

#7941CF is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.2% C 0.207 H 296.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#7941CF
RGBrgb(121, 65, 207)
HSLhsl(264, 60%, 53%)
HSVhsv(264, 69%, 81%)
CMYKcmyk(41.5%, 68.6%, 0%, 18.8%)
CIE-LABlab(41.77, 53.44, -64.64)
CIE-LCHlch(41.77, 83.87, 309.58°)
OKLaboklab(52.15% 0.0925 -0.1847)
OKLCHoklch(52.15% 0.207 296.6)
XYZxyz(21.0350, 12.3501, 60.2949)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7941CF #97CF41
analogous
#4150CF #7941CF #C041CF
triadic
#7941CF #CF7941 #41CF79
tetradic
#7941CF #CF4150 #97CF41 #41CFC0
square
#7941CF #CF4150 #97CF41 #41CFC0
split-complementary
#7941CF #CFC041 #50CF41
monochromatic
#411E77 #5C2BA8 #7941CF #9B72DB #BEA3E8

Accessibility & contrast

On white

6.05
#7941CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#7941CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7941CF
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7941CF#FFFFFF#000000##FFFFFF
##7941CF1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#0061CC
Tritanopia (blue-blind)
#636483
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7941cf;
/* rgb */ color: rgb(121, 65, 207);
/* oklch */ color: oklch(52.2% 0.207 296.6);
Tailwind
colors: {
  custom: {
    50: '#a67adf',
    500: '#7941cf',
    950: '#000000',
  },
}
SCSS
$custom: #7941cf;
$custom-light: #a67adf;
$custom-dark: #000000;
JSON
{
  "hex": "#7941cf",
  "rgb": {
    "r": 121,
    "g": 65,
    "b": 207
  },
  "hsl": {
    "h": 263.662,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52153,
    "c": 0.20656,
    "h": 296.6
  },
  "luminance": 0.12351
}

Semantic roles & 50–950 ramp

primary
#7941CF
secondary
#BCD497
accent
#E345A5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7941CF

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

Preview Lab → · Contrast checker → · Palette generator →

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