#7949D2#7949D2

#7949D2 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.5% C 0.200 H 294.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7949D2
RGBrgb(121, 73, 210)
HSLhsl(261, 60%, 55%)
HSVhsv(261, 65%, 82%)
CMYKcmyk(42.4%, 65.2%, 0%, 17.6%)
CIE-LABlab(43.48, 50.13, -63.58)
CIE-LCHlch(43.48, 80.97, 308.26°)
OKLaboklab(53.45% 0.0839 -0.1816)
OKLCHoklch(53.45% 0.2 294.8)
XYZxyz(21.8975, 13.4826, 62.4090)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7949D2 #A2D249
analogous
#495DD2 #7949D2 #BD49D2
triadic
#7949D2 #D27949 #49D279
tetradic
#7949D2 #D2495D #A2D249 #49D2BD
square
#7949D2 #D2495D #A2D249 #49D2BD
split-complementary
#7949D2 #D2BD49 #5DD249
monochromatic
#422081 #5B2CB2 #7949D2 #9D7ADE #C1ABEA

Accessibility & contrast

On white

5.68
#7949D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7949D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7949D2
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7949D2#FFFFFF#000000##FFFFFF
##7949D21.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#0065CF
Tritanopia (blue-blind)
#616987
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7949d2;
/* rgb */ color: rgb(121, 73, 210);
/* oklch */ color: oklch(53.5% 0.200 294.8);
Tailwind
colors: {
  custom: {
    50: '#a67fe1',
    500: '#7949d2',
    950: '#000000',
  },
}
SCSS
$custom: #7949d2;
$custom-light: #a67fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#7949d2",
  "rgb": {
    "r": 121,
    "g": 73,
    "b": 210
  },
  "hsl": {
    "h": 261.022,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53453,
    "c": 0.20006,
    "h": 294.8
  },
  "luminance": 0.13483
}

Semantic roles & 50–950 ramp

primary
#7949D2
secondary
#C4D89F
accent
#E344AC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7949D2

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

Preview Lab → · Contrast checker → · Palette generator →

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