#7941CB#7941CB

#7941CB is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.8% C 0.202 H 297.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7941CB
RGBrgb(121, 65, 203)
HSLhsl(264, 57%, 53%)
HSVhsv(264, 68%, 80%)
CMYKcmyk(40.4%, 68%, 0%, 20.4%)
CIE-LABlab(41.46, 52.42, -62.82)
CIE-LCHlch(41.46, 81.81, 309.84°)
OKLaboklab(51.84% 0.0931 -0.1793)
OKLCHoklch(51.84% 0.202 297.4)
XYZxyz(20.5522, 12.1570, 57.7521)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7941CB #93CB41
analogous
#414ECB #7941CB #BE41CB
triadic
#7941CB #CB7941 #41CB79
tetradic
#7941CB #CB414E #93CB41 #41CBBE
square
#7941CB #CB414E #93CB41 #41CBBE
split-complementary
#7941CB #CBBE41 #4ECB41
monochromatic
#411F72 #5C2CA2 #7941CB #9B71D8 #BDA1E5

Accessibility & contrast

On white

6.12
#7941CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7941CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7941CB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7941CB#FFFFFF#000000##FFFFFF
##7941CB1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#656281
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7941cb;
/* rgb */ color: rgb(121, 65, 203);
/* oklch */ color: oklch(51.8% 0.202 297.4);
Tailwind
colors: {
  custom: {
    50: '#a67adc',
    500: '#7941cb',
    950: '#000000',
  },
}
SCSS
$custom: #7941cb;
$custom-light: #a67adc;
$custom-dark: #000000;
JSON
{
  "hex": "#7941cb",
  "rgb": {
    "r": 121,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 264.348,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51842,
    "c": 0.20208,
    "h": 297.4
  },
  "luminance": 0.12157
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7941CB

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

Preview Lab → · Contrast checker → · Palette generator →

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