#7941BA#7941BA

#7941BA is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.6% C 0.183 H 301.4°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#7941BA
RGBrgb(121, 65, 186)
HSLhsl(268, 48%, 49%)
HSVhsv(268, 65%, 73%)
CMYKcmyk(34.9%, 65.1%, 0%, 27.1%)
CIE-LABlab(40.23, 48.10, -54.91)
CIE-LCHlch(40.23, 73.00, 311.22°)
OKLaboklab(50.57% 0.0952 -0.1561)
OKLCHoklch(50.57% 0.183 301.4)
XYZxyz(18.6363, 11.3906, 47.6616)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7941BA #82BA41
analogous
#4145BA #7941BA #B641BA
triadic
#7941BA #BA7941 #41BA79
tetradic
#7941BA #BA4145 #82BA41 #41BAB6
square
#7941BA #BA4145 #82BA41 #41BAB6
split-complementary
#7941BA #BAB641 #45BA41
monochromatic
#3E215F #5B318D #7941BA #996CCC #B89ADC

Accessibility & contrast

On white

6.41
#7941BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7941BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7941BA
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7941BA#FFFFFF#000000##FFFFFF
##7941BA1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#0C5EB7
Tritanopia (blue-blind)
#6B5C78
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7941ba;
/* rgb */ color: rgb(121, 65, 186);
/* oklch */ color: oklch(50.6% 0.183 301.4);
Tailwind
colors: {
  custom: {
    50: '#a479cf',
    500: '#7941ba',
    950: '#000000',
  },
}
SCSS
$custom: #7941ba;
$custom-light: #a479cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7941ba",
  "rgb": {
    "r": 121,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 267.769,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50566,
    "c": 0.18281,
    "h": 301.4
  },
  "luminance": 0.11391
}

Semantic roles & 50–950 ramp

primary
#7941BA
secondary
#ADC88F
accent
#D85099
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7941BA

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

Preview Lab → · Contrast checker → · Palette generator →

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