#7949CA#7949CA

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

Color values

HEX#7949CA
RGBrgb(121, 73, 202)
HSLhsl(262, 55%, 54%)
HSVhsv(262, 64%, 79%)
CMYKcmyk(40.1%, 63.9%, 0%, 20.8%)
CIE-LABlab(42.90, 48.02, -59.90)
CIE-LCHlch(42.90, 76.77, 308.71°)
OKLaboklab(52.85% 0.0848 -0.1708)
OKLCHoklch(52.85% 0.191 296.4)
XYZxyz(20.9256, 13.0939, 57.2905)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7949CA #9ACA49
analogous
#495ACA #7949CA #BA49CA
triadic
#7949CA #CA7949 #49CA79
tetradic
#7949CA #CA495A #9ACA49 #49CABA
square
#7949CA #CA495A #9ACA49 #49CABA
split-complementary
#7949CA #CABA49 #5ACA49
monochromatic
#422276 #5C30A6 #7949CA #9C78D8 #BFA8E6

Accessibility & contrast

On white

5.80
#7949CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#7949CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7949CA
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7949CA#FFFFFF#000000##FFFFFF
##7949CA1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#656683
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7949ca;
/* rgb */ color: rgb(121, 73, 202);
/* oklch */ color: oklch(52.9% 0.191 296.4);
Tailwind
colors: {
  custom: {
    50: '#a57edb',
    500: '#7949ca',
    950: '#000000',
  },
}
SCSS
$custom: #7949ca;
$custom-light: #a57edb;
$custom-dark: #000000;
JSON
{
  "hex": "#7949ca",
  "rgb": {
    "r": 121,
    "g": 73,
    "b": 202
  },
  "hsl": {
    "h": 262.326,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52854,
    "c": 0.19066,
    "h": 296.4
  },
  "luminance": 0.13094
}

Semantic roles & 50–950 ramp

primary
#7949CA
secondary
#BED39C
accent
#DE4AA7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7949CA

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

Preview Lab → · Contrast checker → · Palette generator →

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