#7941B1#7941B1

#7941B1 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.9% C 0.173 H 303.8°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#7941B1
RGBrgb(121, 65, 177)
HSLhsl(270, 46%, 47%)
HSVhsv(270, 63%, 69%)
CMYKcmyk(31.6%, 63.3%, 0%, 30.6%)
CIE-LABlab(39.61, 45.86, -50.60)
CIE-LCHlch(39.61, 68.29, 312.19°)
OKLaboklab(49.93% 0.0959 -0.1434)
OKLCHoklch(49.93% 0.173 303.8)
XYZxyz(17.7095, 11.0199, 42.7805)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7941B1 #79B141
analogous
#4141B1 #7941B1 #B141B1
triadic
#7941B1 #B17941 #41B179
tetradic
#7941B1 #B14141 #79B141 #41B1B1
square
#7941B1 #B14141 #79B141 #41B1B1
split-complementary
#7941B1 #B1B141 #41B141
monochromatic
#3C2057 #5A3184 #7941B1 #9868C7 #B695D8

Accessibility & contrast

On white

6.55
#7941B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7941B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7941B1
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7941B1#FFFFFF#000000##FFFFFF
##7941B11.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#215DAF
Tritanopia (blue-blind)
#6E5973
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7941b1;
/* rgb */ color: rgb(121, 65, 177);
/* oklch */ color: oklch(49.9% 0.173 303.8);
Tailwind
colors: {
  custom: {
    50: '#a479c9',
    500: '#7941b1',
    950: '#000000',
  },
}
SCSS
$custom: #7941b1;
$custom-light: #a479c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7941b1",
  "rgb": {
    "r": 121,
    "g": 65,
    "b": 177
  },
  "hsl": {
    "h": 270,
    "s": 46.281,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49925,
    "c": 0.17251,
    "h": 303.8
  },
  "luminance": 0.1102
}

Semantic roles & 50–950 ramp

primary
#7941B1
secondary
#A7C38A
accent
#D65294
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7941B1

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

Preview Lab → · Contrast checker → · Palette generator →

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