#7949BD#7949BD

#7949BD is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.9% C 0.175 H 299.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7949BD
RGBrgb(121, 73, 189)
HSLhsl(265, 47%, 51%)
HSVhsv(265, 61%, 74%)
CMYKcmyk(36%, 61.4%, 0%, 25.9%)
CIE-LABlab(42.01, 44.62, -53.80)
CIE-LCHlch(42.01, 69.89, 309.67°)
OKLaboklab(51.92% 0.0857 -0.1528)
OKLCHoklch(51.92% 0.175 299.3)
XYZxyz(19.4507, 12.5040, 49.5230)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7949BD #8DBD49
analogous
#4953BD #7949BD #B349BD
triadic
#7949BD #BD7949 #49BD79
tetradic
#7949BD #BD4953 #8DBD49 #49BDB3
square
#7949BD #BD4953 #8DBD49 #49BDB3
split-complementary
#7949BD #BDB349 #53BD49
monochromatic
#402566 #5C3593 #7949BD #9A76CD #BBA3DE

Accessibility & contrast

On white

6.00
#7949BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7949BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7949BD
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7949BD#FFFFFF#000000##FFFFFF
##7949BD1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#1C62BA
Tritanopia (blue-blind)
#6A627C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7949bd;
/* rgb */ color: rgb(121, 73, 189);
/* oklch */ color: oklch(51.9% 0.175 299.3);
Tailwind
colors: {
  custom: {
    50: '#a47ed2',
    500: '#7949bd',
    950: '#000000',
  },
}
SCSS
$custom: #7949bd;
$custom-light: #a47ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#7949bd",
  "rgb": {
    "r": 121,
    "g": 73,
    "b": 189
  },
  "hsl": {
    "h": 264.828,
    "s": 46.774,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51918,
    "c": 0.1752,
    "h": 299.3
  },
  "luminance": 0.12504
}

Semantic roles & 50–950 ramp

primary
#7949BD
secondary
#B5CA97
accent
#D6519F
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7949BD

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

Preview Lab → · Contrast checker → · Palette generator →

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