#7949BF#7949BF

#7949BF is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.1% C 0.178 H 298.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#7949BF
RGBrgb(121, 73, 191)
HSLhsl(264, 48%, 52%)
HSVhsv(264, 62%, 75%)
CMYKcmyk(36.6%, 61.8%, 0%, 25.1%)
CIE-LABlab(42.14, 45.14, -54.75)
CIE-LCHlch(42.14, 70.96, 309.51°)
OKLaboklab(52.06% 0.0856 -0.1556)
OKLCHoklch(52.06% 0.178 298.8)
XYZxyz(19.6693, 12.5914, 50.6742)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7949BF #8FBF49
analogous
#4954BF #7949BF #B449BF
triadic
#7949BF #BF7949 #49BF79
tetradic
#7949BF #BF4954 #8FBF49 #49BFB4
square
#7949BF #BF4954 #8FBF49 #49BFB4
split-complementary
#7949BF #BFB449 #54BF49
monochromatic
#402569 #5C3596 #7949BF #9A76CF #BCA4DF

Accessibility & contrast

On white

5.97
#7949BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7949BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7949BF
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7949BF#FFFFFF#000000##FFFFFF
##7949BF1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#1762BC
Tritanopia (blue-blind)
#69637D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7949bf;
/* rgb */ color: rgb(121, 73, 191);
/* oklch */ color: oklch(52.1% 0.178 298.8);
Tailwind
colors: {
  custom: {
    50: '#a47ed3',
    500: '#7949bf',
    950: '#000000',
  },
}
SCSS
$custom: #7949bf;
$custom-light: #a47ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#7949bf",
  "rgb": {
    "r": 121,
    "g": 73,
    "b": 191
  },
  "hsl": {
    "h": 264.407,
    "s": 47.967,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52059,
    "c": 0.1776,
    "h": 298.8
  },
  "luminance": 0.12592
}

Semantic roles & 50–950 ramp

primary
#7949BF
secondary
#B7CC98
accent
#D850A1
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7949BF

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

Preview Lab → · Contrast checker → · Palette generator →

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