#7949CE#7949CE

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

Color values

HEX#7949CE
RGBrgb(121, 73, 206)
HSLhsl(262, 58%, 55%)
HSVhsv(262, 65%, 81%)
CMYKcmyk(41.3%, 64.6%, 0%, 19.2%)
CIE-LABlab(43.19, 49.07, -61.75)
CIE-LCHlch(43.19, 78.87, 308.47°)
OKLaboklab(53.15% 0.0844 -0.1762)
OKLCHoklch(53.15% 0.195 295.6)
XYZxyz(21.4053, 13.2858, 59.8172)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7949CE #9ECE49
analogous
#495CCE #7949CE #BC49CE
triadic
#7949CE #CE7949 #49CE79
tetradic
#7949CE #CE495C #9ECE49 #49CEBC
square
#7949CE #CE495C #9ECE49 #49CEBC
split-complementary
#7949CE #CEBC49 #5CCE49
monochromatic
#42217B #5B2EAC #7949CE #9D79DB #C0A9E8

Accessibility & contrast

On white

5.74
#7949CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7949CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7949CE
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7949CE#FFFFFF#000000##FFFFFF
##7949CE1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#636885
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7949ce;
/* rgb */ color: rgb(121, 73, 206);
/* oklch */ color: oklch(53.2% 0.195 295.6);
Tailwind
colors: {
  custom: {
    50: '#a67ede',
    500: '#7949ce',
    950: '#000000',
  },
}
SCSS
$custom: #7949ce;
$custom-light: #a67ede;
$custom-dark: #000000;
JSON
{
  "hex": "#7949ce",
  "rgb": {
    "r": 121,
    "g": 73,
    "b": 206
  },
  "hsl": {
    "h": 261.654,
    "s": 57.576,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53152,
    "c": 0.19537,
    "h": 295.6
  },
  "luminance": 0.13286
}

Semantic roles & 50–950 ramp

primary
#7949CE
secondary
#C1D59D
accent
#E147A9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7949CE

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

Preview Lab → · Contrast checker → · Palette generator →

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