#7946E0#7946E0

#7946E0 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.1% C 0.220 H 292.7°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7946E0
RGBrgb(121, 70, 224)
HSLhsl(260, 71%, 58%)
HSVhsv(260, 69%, 88%)
CMYKcmyk(46%, 68.8%, 0%, 12.2%)
CIE-LABlab(43.98, 55.39, -70.77)
CIE-LCHlch(43.98, 89.87, 308.05°)
OKLaboklab(54.15% 0.0849 -0.2027)
OKLCHoklch(54.15% 0.22 292.7)
XYZxyz(23.5261, 13.8263, 71.9357)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7946E0 #ADE046
analogous
#4660E0 #7946E0 #C646E0
triadic
#7946E0 #E07946 #46E079
tetradic
#7946E0 #E04660 #ADE046 #46E0C6
square
#7946E0 #E04660 #ADE046 #46E0C6
split-complementary
#7946E0 #E0C646 #60E046
monochromatic
#411993 #5821C7 #7946E0 #9F7AE9 #C5AFF2

Accessibility & contrast

On white

5.58
#7946E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7946E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7946E0
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7946E0#FFFFFF#000000##FFFFFF
##7946E01.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE5
Deuteranopia (green-blind)
#0065DD
Tritanopia (blue-blind)
#5A6D8E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7946e0;
/* rgb */ color: rgb(121, 70, 224);
/* oklch */ color: oklch(54.1% 0.220 292.7);
Tailwind
colors: {
  custom: {
    50: '#a87deb',
    500: '#7946e0',
    950: '#000000',
  },
}
SCSS
$custom: #7946e0;
$custom-light: #a87deb;
$custom-dark: #000000;
JSON
{
  "hex": "#7946e0",
  "rgb": {
    "r": 121,
    "g": 70,
    "b": 224
  },
  "hsl": {
    "h": 259.87,
    "s": 71.296,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54145,
    "c": 0.21979,
    "h": 292.7
  },
  "luminance": 0.13827
}

Semantic roles & 50–950 ramp

primary
#7946E0
secondary
#CBE0A2
accent
#EE3AB2
background
#FAF7FE
surface
#F5EEFD
border
#CFC9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7946E0

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

Preview Lab → · Contrast checker → · Palette generator →

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