#7949CC#7949CC

#7949CC is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.0% C 0.193 H 296.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7949CC
RGBrgb(121, 73, 204)
HSLhsl(262, 56%, 54%)
HSVhsv(262, 64%, 80%)
CMYKcmyk(40.7%, 64.2%, 0%, 20%)
CIE-LABlab(43.05, 48.54, -60.83)
CIE-LCHlch(43.05, 77.82, 308.59°)
OKLaboklab(53% 0.0846 -0.1735)
OKLCHoklch(53% 0.193 296)
XYZxyz(21.1639, 13.1892, 58.5458)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7949CC #9CCC49
analogous
#495BCC #7949CC #BB49CC
triadic
#7949CC #CC7949 #49CC79
tetradic
#7949CC #CC495B #9CCC49 #49CCBB
square
#7949CC #CC495B #9CCC49 #49CCBB
split-complementary
#7949CC #CCBB49 #5BCC49
monochromatic
#422279 #5C2FA9 #7949CC #9C79D9 #BFA9E7

Accessibility & contrast

On white

5.77
#7949CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7949CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7949CC
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7949CC#FFFFFF#000000##FFFFFF
##7949CC1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#646784
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7949cc;
/* rgb */ color: rgb(121, 73, 204);
/* oklch */ color: oklch(53.0% 0.193 296.0);
Tailwind
colors: {
  custom: {
    50: '#a67edc',
    500: '#7949cc',
    950: '#000000',
  },
}
SCSS
$custom: #7949cc;
$custom-light: #a67edc;
$custom-dark: #000000;
JSON
{
  "hex": "#7949cc",
  "rgb": {
    "r": 121,
    "g": 73,
    "b": 204
  },
  "hsl": {
    "h": 261.985,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53002,
    "c": 0.19301,
    "h": 296
  },
  "luminance": 0.1319
}

Semantic roles & 50–950 ramp

primary
#7949CC
secondary
#C0D49D
accent
#E048A8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7949CC

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

Preview Lab → · Contrast checker → · Palette generator →

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