#7949CB#7949CB

#7949CB is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.9% C 0.192 H 296.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7949CB
RGBrgb(121, 73, 203)
HSLhsl(262, 56%, 54%)
HSVhsv(262, 64%, 80%)
CMYKcmyk(40.4%, 64%, 0%, 20.4%)
CIE-LABlab(42.98, 48.28, -60.37)
CIE-LCHlch(42.98, 77.30, 308.65°)
OKLaboklab(52.93% 0.0847 -0.1721)
OKLCHoklch(52.93% 0.192 296.2)
XYZxyz(21.0444, 13.1414, 57.9161)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7949CB #9BCB49
analogous
#495ACB #7949CB #BA49CB
triadic
#7949CB #CB7949 #49CB79
tetradic
#7949CB #CB495A #9BCB49 #49CBBA
square
#7949CB #CB495A #9BCB49 #49CBBA
split-complementary
#7949CB #CBBA49 #5ACB49
monochromatic
#422277 #5C30A7 #7949CB #9C79D9 #BFA8E6

Accessibility & contrast

On white

5.79
#7949CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7949CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7949CB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7949CB#FFFFFF#000000##FFFFFF
##7949CB1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#646783
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7949cb;
/* rgb */ color: rgb(121, 73, 203);
/* oklch */ color: oklch(52.9% 0.192 296.2);
Tailwind
colors: {
  custom: {
    50: '#a57edc',
    500: '#7949cb',
    950: '#000000',
  },
}
SCSS
$custom: #7949cb;
$custom-light: #a57edc;
$custom-dark: #000000;
JSON
{
  "hex": "#7949cb",
  "rgb": {
    "r": 121,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 262.154,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52928,
    "c": 0.19184,
    "h": 296.2
  },
  "luminance": 0.13142
}

Semantic roles & 50–950 ramp

primary
#7949CB
secondary
#BFD49C
accent
#DF49A8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7949CB

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

Preview Lab → · Contrast checker → · Palette generator →

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