#7949CD#7949CD

#7949CD is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.1% C 0.194 H 295.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7949CD
RGBrgb(121, 73, 205)
HSLhsl(262, 57%, 55%)
HSVhsv(262, 64%, 80%)
CMYKcmyk(41%, 64.4%, 0%, 19.6%)
CIE-LABlab(43.12, 48.81, -61.29)
CIE-LCHlch(43.12, 78.35, 308.53°)
OKLaboklab(53.08% 0.0845 -0.1749)
OKLCHoklch(53.08% 0.194 295.8)
XYZxyz(21.2842, 13.2374, 59.1794)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7949CD #9DCD49
analogous
#495BCD #7949CD #BB49CD
triadic
#7949CD #CD7949 #49CD79
tetradic
#7949CD #CD495B #9DCD49 #49CDBB
square
#7949CD #CD495B #9DCD49 #49CDBB
split-complementary
#7949CD #CDBB49 #5BCD49
monochromatic
#42227A #5C2FAA #7949CD #9C79DA #C0A9E7

Accessibility & contrast

On white

5.76
#7949CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7949CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7949CD
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7949CD#FFFFFF#000000##FFFFFF
##7949CD1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#636884
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7949cd;
/* rgb */ color: rgb(121, 73, 205);
/* oklch */ color: oklch(53.1% 0.194 295.8);
Tailwind
colors: {
  custom: {
    50: '#a67edd',
    500: '#7949cd',
    950: '#000000',
  },
}
SCSS
$custom: #7949cd;
$custom-light: #a67edd;
$custom-dark: #000000;
JSON
{
  "hex": "#7949cd",
  "rgb": {
    "r": 121,
    "g": 73,
    "b": 205
  },
  "hsl": {
    "h": 261.818,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53077,
    "c": 0.19419,
    "h": 295.8
  },
  "luminance": 0.13238
}

Semantic roles & 50–950 ramp

primary
#7949CD
secondary
#C1D59D
accent
#E048A9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7949CD

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

Preview Lab → · Contrast checker → · Palette generator →

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