#7941B2#7941B2

#7941B2 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.0% C 0.174 H 303.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7941B2
RGBrgb(121, 65, 178)
HSLhsl(270, 47%, 48%)
HSVhsv(270, 63%, 70%)
CMYKcmyk(32%, 63.5%, 0%, 30.2%)
CIE-LABlab(39.68, 46.11, -51.08)
CIE-LCHlch(39.68, 68.81, 312.07°)
OKLaboklab(50% 0.0958 -0.1448)
OKLCHoklch(50% 0.174 303.5)
XYZxyz(17.8095, 11.0599, 43.3074)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7941B2 #7AB241
analogous
#4141B2 #7941B2 #B241B2
triadic
#7941B2 #B27941 #41B279
tetradic
#7941B2 #B24141 #7AB241 #41B2B2
square
#7941B2 #B24141 #7AB241 #41B2B2
split-complementary
#7941B2 #B2B241 #41B241
monochromatic
#3C2058 #5B3185 #7941B2 #9868C8 #B695D8

Accessibility & contrast

On white

6.54
#7941B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7941B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7941B2
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7941B2#FFFFFF#000000##FFFFFF
##7941B21.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7941b2;
/* rgb */ color: rgb(121, 65, 178);
/* oklch */ color: oklch(50.0% 0.174 303.5);
Tailwind
colors: {
  custom: {
    50: '#a479ca',
    500: '#7941b2',
    950: '#000000',
  },
}
SCSS
$custom: #7941b2;
$custom-light: #a479ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7941b2",
  "rgb": {
    "r": 121,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 269.735,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49995,
    "c": 0.17366,
    "h": 303.5
  },
  "luminance": 0.1106
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7941B2

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

Preview Lab → · Contrast checker → · Palette generator →

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