#7949E8#7949E8

#7949E8 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.2% C 0.225 H 291.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7949E8
RGBrgb(121, 73, 232)
HSLhsl(258, 78%, 60%)
HSVhsv(258, 69%, 91%)
CMYKcmyk(47.8%, 68.5%, 0%, 9%)
CIE-LABlab(45.16, 56.01, -73.39)
CIE-LCHlch(45.16, 92.33, 307.35°)
OKLaboklab(55.18% 0.0808 -0.2104)
OKLCHoklch(55.18% 0.225 291)
XYZxyz(24.8291, 14.6553, 77.8488)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7949E8 #B8E849
analogous
#4969E8 #7949E8 #C849E8
triadic
#7949E8 #E87949 #49E879
tetradic
#7949E8 #E84969 #B8E849 #49E8C8
square
#7949E8 #E84969 #B8E849 #49E8C8
split-complementary
#7949E8 #E8C849 #69E849
monochromatic
#3F14A2 #541BD8 #7949E8 #A17FEF #C9B6F6

Accessibility & contrast

On white

5.34
#7949E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7949E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7949E8
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7949E8#FFFFFF#000000##FFFFFF
##7949E81.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DED
Deuteranopia (green-blind)
#0067E5
Tritanopia (blue-blind)
#557193
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7949e8;
/* rgb */ color: rgb(121, 73, 232);
/* oklch */ color: oklch(55.2% 0.225 291.0);
Tailwind
colors: {
  custom: {
    50: '#a97ff0',
    500: '#7949e8',
    950: '#000000',
  },
}
SCSS
$custom: #7949e8;
$custom-light: #a97ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#7949e8",
  "rgb": {
    "r": 121,
    "g": 73,
    "b": 232
  },
  "hsl": {
    "h": 258.113,
    "s": 77.561,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55179,
    "c": 0.22541,
    "h": 291
  },
  "luminance": 0.14656
}

Semantic roles & 50–950 ramp

primary
#7949E8
secondary
#D3E5A8
accent
#F434BA
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7949E8

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

Preview Lab → · Contrast checker → · Palette generator →

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