#7948AD#7948AD

#7948AD is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.7% C 0.157 H 303.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7948AD
RGBrgb(121, 72, 173)
HSLhsl(269, 41%, 48%)
HSVhsv(269, 58%, 68%)
CMYKcmyk(30.1%, 58.4%, 0%, 32.2%)
CIE-LABlab(40.76, 41.10, -46.39)
CIE-LCHlch(40.76, 61.97, 311.54°)
OKLaboklab(50.68% 0.0873 -0.1311)
OKLCHoklch(50.68% 0.157 303.7)
XYZxyz(17.7437, 11.7168, 40.8539)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7948AD #7CAD48
analogous
#484AAD #7948AD #AB48AD
triadic
#7948AD #AD7948 #48AD79
tetradic
#7948AD #AD484A #7CAD48 #48ADAB
square
#7948AD #AD484A #7CAD48 #48ADAB
split-complementary
#7948AD #ADAB48 #4AAD48
monochromatic
#3D2457 #5B3682 #7948AD #986FC3 #B79AD5

Accessibility & contrast

On white

6.28
#7948AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7948AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7948AD
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7948AD#FFFFFF#000000##FFFFFF
##7948AD1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5FB0
Deuteranopia (green-blind)
#3160AB
Tritanopia (blue-blind)
#6F5C73
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7948ad;
/* rgb */ color: rgb(121, 72, 173);
/* oklch */ color: oklch(50.7% 0.157 303.7);
Tailwind
colors: {
  custom: {
    50: '#a37dc6',
    500: '#7948ad',
    950: '#000000',
  },
}
SCSS
$custom: #7948ad;
$custom-light: #a37dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#7948ad",
  "rgb": {
    "r": 121,
    "g": 72,
    "b": 173
  },
  "hsl": {
    "h": 269.109,
    "s": 41.224,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50678,
    "c": 0.15745,
    "h": 303.7
  },
  "luminance": 0.11717
}

Semantic roles & 50–950 ramp

primary
#7948AD
secondary
#A9C18F
accent
#D15796
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #7948AD

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

Preview Lab → · Contrast checker → · Palette generator →

#7948AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva