#7949CF#7949CF

#7949CF is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.2% C 0.197 H 295.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7949CF
RGBrgb(121, 73, 207)
HSLhsl(261, 58%, 55%)
HSVhsv(261, 65%, 81%)
CMYKcmyk(41.5%, 64.7%, 0%, 18.8%)
CIE-LABlab(43.26, 49.34, -62.21)
CIE-LCHlch(43.26, 79.40, 308.42°)
OKLaboklab(53.23% 0.0843 -0.1776)
OKLCHoklch(53.23% 0.197 295.4)
XYZxyz(21.5272, 13.3345, 60.4590)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7949CF #9FCF49
analogous
#495CCF #7949CF #BC49CF
triadic
#7949CF #CF7949 #49CF79
tetradic
#7949CF #CF495C #9FCF49 #49CFBC
square
#7949CF #CF495C #9FCF49 #49CFBC
split-complementary
#7949CF #CFBC49 #5CCF49
monochromatic
#42217D #5B2EAD #7949CF #9D79DC #C0AAE9

Accessibility & contrast

On white

5.73
#7949CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7949CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7949CF
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7949CF#FFFFFF#000000##FFFFFF
##7949CF1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#626886
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7949cf;
/* rgb */ color: rgb(121, 73, 207);
/* oklch */ color: oklch(53.2% 0.197 295.4);
Tailwind
colors: {
  custom: {
    50: '#a67edf',
    500: '#7949cf',
    950: '#000000',
  },
}
SCSS
$custom: #7949cf;
$custom-light: #a67edf;
$custom-dark: #000000;
JSON
{
  "hex": "#7949cf",
  "rgb": {
    "r": 121,
    "g": 73,
    "b": 207
  },
  "hsl": {
    "h": 261.493,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53227,
    "c": 0.19654,
    "h": 295.4
  },
  "luminance": 0.13335
}

Semantic roles & 50–950 ramp

primary
#7949CF
secondary
#C2D69E
accent
#E146AA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7949CF

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

Preview Lab → · Contrast checker → · Palette generator →

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