#7949D8#7949D8

#7949D8 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 53.9% C 0.207 H 293.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7949D8
RGBrgb(121, 73, 216)
HSLhsl(260, 65%, 57%)
HSVhsv(260, 66%, 85%)
CMYKcmyk(44%, 66.2%, 0%, 15.3%)
CIE-LABlab(43.93, 51.73, -66.30)
CIE-LCHlch(43.93, 84.09, 307.96°)
OKLaboklab(53.91% 0.0832 -0.1896)
OKLCHoklch(53.91% 0.207 293.7)
XYZxyz(22.6590, 13.7873, 66.4198)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7949D8 #A8D849
analogous
#4961D8 #7949D8 #C149D8
triadic
#7949D8 #D87949 #49D879
tetradic
#7949D8 #D84961 #A8D849 #49D8C1
square
#7949D8 #D84961 #A8D849 #49D8C1
split-complementary
#7949D8 #D8C149 #61D849
monochromatic
#421D89 #5A28BC #7949D8 #9E7BE3 #C3AEEE

Accessibility & contrast

On white

5.59
#7949D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7949D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7949D8
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7949D8#FFFFFF#000000##FFFFFF
##7949D81.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DC
Deuteranopia (green-blind)
#0065D5
Tritanopia (blue-blind)
#5E6B8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7949d8;
/* rgb */ color: rgb(121, 73, 216);
/* oklch */ color: oklch(53.9% 0.207 293.7);
Tailwind
colors: {
  custom: {
    50: '#a77fe5',
    500: '#7949d8',
    950: '#000000',
  },
}
SCSS
$custom: #7949d8;
$custom-light: #a77fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#7949d8",
  "rgb": {
    "r": 121,
    "g": 73,
    "b": 216
  },
  "hsl": {
    "h": 260.14,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53913,
    "c": 0.20704,
    "h": 293.7
  },
  "luminance": 0.13788
}

Semantic roles & 50–950 ramp

primary
#7949D8
secondary
#C8DCA1
accent
#E840AF
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7949D8

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

Preview Lab → · Contrast checker → · Palette generator →

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