#7941D2#7941D2

#7941D2 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.4% C 0.210 H 296.0°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7941D2
RGBrgb(121, 65, 210)
HSLhsl(263, 62%, 54%)
HSVhsv(263, 69%, 82%)
CMYKcmyk(42.4%, 69%, 0%, 17.6%)
CIE-LABlab(42.00, 54.22, -65.99)
CIE-LCHlch(42.00, 85.41, 309.40°)
OKLaboklab(52.39% 0.092 -0.1887)
OKLCHoklch(52.39% 0.21 296)
XYZxyz(21.4052, 12.4982, 62.2449)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7941D2 #9AD241
analogous
#4152D2 #7941D2 #C141D2
triadic
#7941D2 #D27941 #41D279
tetradic
#7941D2 #D24152 #9AD241 #41D2C1
square
#7941D2 #D24152 #9AD241 #41D2C1
split-complementary
#7941D2 #D2C141 #52D241
monochromatic
#421D7B #5C29AD #7941D2 #9C72DE #BFA4E9

Accessibility & contrast

On white

6.00
#7941D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7941D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7941D2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7941D2#FFFFFF#000000##FFFFFF
##7941D21.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#616585
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7941d2;
/* rgb */ color: rgb(121, 65, 210);
/* oklch */ color: oklch(52.4% 0.210 296.0);
Tailwind
colors: {
  custom: {
    50: '#a77ae1',
    500: '#7941d2',
    950: '#000000',
  },
}
SCSS
$custom: #7941d2;
$custom-light: #a77ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#7941d2",
  "rgb": {
    "r": 121,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 263.172,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52389,
    "c": 0.20992,
    "h": 296
  },
  "luminance": 0.12499
}

Semantic roles & 50–950 ramp

primary
#7941D2
secondary
#BED698
accent
#E543A6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7941D2

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

Preview Lab → · Contrast checker → · Palette generator →

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