#7946DE#7946DE

#7946DE is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.0% C 0.218 H 293.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7946DE
RGBrgb(121, 70, 222)
HSLhsl(260, 70%, 57%)
HSVhsv(260, 68%, 87%)
CMYKcmyk(45.5%, 68.5%, 0%, 12.9%)
CIE-LABlab(43.83, 54.86, -69.89)
CIE-LCHlch(43.83, 88.85, 308.13°)
OKLaboklab(53.98% 0.0852 -0.2001)
OKLCHoklch(53.98% 0.218 293.1)
XYZxyz(23.2565, 13.7185, 70.5157)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7946DE #ABDE46
analogous
#465FDE #7946DE #C546DE
triadic
#7946DE #DE7946 #46DE79
tetradic
#7946DE #DE465F #ABDE46 #46DEC5
square
#7946DE #DE465F #ABDE46 #46DEC5
split-complementary
#7946DE #DEC546 #5FDE46
monochromatic
#411A90 #5923C4 #7946DE #9F7AE7 #C4AEF1

Accessibility & contrast

On white

5.61
#7946DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#7946DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7946DE
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7946DE#FFFFFF#000000##FFFFFF
##7946DE1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E3
Deuteranopia (green-blind)
#0065DB
Tritanopia (blue-blind)
#5B6C8D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7946de;
/* rgb */ color: rgb(121, 70, 222);
/* oklch */ color: oklch(54.0% 0.218 293.1);
Tailwind
colors: {
  custom: {
    50: '#a87de9',
    500: '#7946de',
    950: '#000000',
  },
}
SCSS
$custom: #7946de;
$custom-light: #a87de9;
$custom-dark: #000000;
JSON
{
  "hex": "#7946de",
  "rgb": {
    "r": 121,
    "g": 70,
    "b": 222
  },
  "hsl": {
    "h": 260.132,
    "s": 69.725,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53984,
    "c": 0.21753,
    "h": 293.1
  },
  "luminance": 0.13719
}

Semantic roles & 50–950 ramp

primary
#7946DE
secondary
#CADFA1
accent
#ED3BB1
background
#FAF7FE
surface
#F5EEFD
border
#CFC9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7946DE

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

Preview Lab → · Contrast checker → · Palette generator →

#7946DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva