#7949DC#7949DC

#7949DC is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.2% C 0.212 H 293.0°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7949DC
RGBrgb(121, 73, 220)
HSLhsl(260, 68%, 57%)
HSVhsv(260, 67%, 86%)
CMYKcmyk(45%, 66.8%, 0%, 13.7%)
CIE-LABlab(44.23, 52.80, -68.09)
CIE-LCHlch(44.23, 86.16, 307.79°)
OKLaboklab(54.22% 0.0827 -0.1949)
OKLCHoklch(54.22% 0.212 293)
XYZxyz(23.1824, 13.9966, 69.1764)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7949DC #ACDC49
analogous
#4962DC #7949DC #C349DC
triadic
#7949DC #DC7949 #49DC79
tetradic
#7949DC #DC4962 #ACDC49 #49DCC3
square
#7949DC #DC4962 #ACDC49 #49DCC3
split-complementary
#7949DC #DCC349 #62DC49
monochromatic
#411C8F #5925C2 #7949DC #9F7CE6 #C5B0F0

Accessibility & contrast

On white

5.53
#7949DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7949DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7949DC
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7949DC#FFFFFF#000000##FFFFFF
##7949DC1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE0
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#5C6D8D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7949dc;
/* rgb */ color: rgb(121, 73, 220);
/* oklch */ color: oklch(54.2% 0.212 293.0);
Tailwind
colors: {
  custom: {
    50: '#a77fe8',
    500: '#7949dc',
    950: '#000000',
  },
}
SCSS
$custom: #7949dc;
$custom-light: #a77fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#7949dc",
  "rgb": {
    "r": 121,
    "g": 73,
    "b": 220
  },
  "hsl": {
    "h": 259.592,
    "s": 67.742,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54224,
    "c": 0.21166,
    "h": 293
  },
  "luminance": 0.13997
}

Semantic roles & 50–950 ramp

primary
#7949DC
secondary
#CBDEA3
accent
#EB3DB2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7949DC

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

Preview Lab → · Contrast checker → · Palette generator →

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