#7949E4#7949E4

#7949E4 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.9% C 0.221 H 291.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7949E4
RGBrgb(121, 73, 228)
HSLhsl(259, 74%, 59%)
HSVhsv(259, 68%, 89%)
CMYKcmyk(46.9%, 68%, 0%, 10.6%)
CIE-LABlab(44.84, 54.94, -71.64)
CIE-LCHlch(44.84, 90.28, 307.48°)
OKLaboklab(54.86% 0.0814 -0.2053)
OKLCHoklch(54.86% 0.221 291.6)
XYZxyz(24.2674, 14.4306, 74.8905)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7949E4 #B4E449
analogous
#4967E4 #7949E4 #C749E4
triadic
#7949E4 #E47949 #49E479
tetradic
#7949E4 #E44967 #B4E449 #49E4C7
square
#7949E4 #E44967 #B4E449 #49E4C7
split-complementary
#7949E4 #E4C749 #67E449
monochromatic
#40179C #561FD1 #7949E4 #A07EEC #C7B4F4

Accessibility & contrast

On white

5.40
#7949E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7949E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7949E4
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7949E4#FFFFFF#000000##FFFFFF
##7949E41.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE9
Deuteranopia (green-blind)
#0067E1
Tritanopia (blue-blind)
#577091
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7949e4;
/* rgb */ color: rgb(121, 73, 228);
/* oklch */ color: oklch(54.9% 0.221 291.6);
Tailwind
colors: {
  custom: {
    50: '#a87fee',
    500: '#7949e4',
    950: '#000000',
  },
}
SCSS
$custom: #7949e4;
$custom-light: #a87fee;
$custom-dark: #000000;
JSON
{
  "hex": "#7949e4",
  "rgb": {
    "r": 121,
    "g": 73,
    "b": 228
  },
  "hsl": {
    "h": 258.581,
    "s": 74.163,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54857,
    "c": 0.22085,
    "h": 291.6
  },
  "luminance": 0.14431
}

Semantic roles & 50–950 ramp

primary
#7949E4
secondary
#D0E3A6
accent
#F137B7
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7949E4

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

Preview Lab → · Contrast checker → · Palette generator →

#7949E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva