#7949BB#7949BB

#7949BB is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.8% C 0.173 H 299.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7949BB
RGBrgb(121, 73, 187)
HSLhsl(265, 46%, 51%)
HSVhsv(265, 61%, 73%)
CMYKcmyk(35.3%, 61%, 0%, 26.7%)
CIE-LABlab(41.87, 44.10, -52.84)
CIE-LCHlch(41.87, 68.83, 309.85°)
OKLaboklab(51.78% 0.0858 -0.15)
OKLCHoklch(51.78% 0.173 299.8)
XYZxyz(19.2352, 12.4177, 48.3875)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7949BB #8BBB49
analogous
#4952BB #7949BB #B249BB
triadic
#7949BB #BB7949 #49BB79
tetradic
#7949BB #BB4952 #8BBB49 #49BBB2
square
#7949BB #BB4952 #8BBB49 #49BBB2
split-complementary
#7949BB #BBB249 #52BB49
monochromatic
#402564 #5C3691 #7949BB #9A76CC #BBA2DC

Accessibility & contrast

On white

6.03
#7949BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7949BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7949BB
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7949BB#FFFFFF#000000##FFFFFF
##7949BB1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#2062B8
Tritanopia (blue-blind)
#6B617B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7949bb;
/* rgb */ color: rgb(121, 73, 187);
/* oklch */ color: oklch(51.8% 0.173 299.8);
Tailwind
colors: {
  custom: {
    50: '#a47ed0',
    500: '#7949bb',
    950: '#000000',
  },
}
SCSS
$custom: #7949bb;
$custom-light: #a47ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#7949bb",
  "rgb": {
    "r": 121,
    "g": 73,
    "b": 187
  },
  "hsl": {
    "h": 265.263,
    "s": 45.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51778,
    "c": 0.17281,
    "h": 299.8
  },
  "luminance": 0.12418
}

Semantic roles & 50–950 ramp

primary
#7949BB
secondary
#B4C997
accent
#D5539E
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7949BB

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

Preview Lab → · Contrast checker → · Palette generator →

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