#7948AE#7948AE

#7948AE is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.7% C 0.159 H 303.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7948AE
RGBrgb(121, 72, 174)
HSLhsl(269, 41%, 48%)
HSVhsv(269, 59%, 68%)
CMYKcmyk(30.5%, 58.6%, 0%, 31.8%)
CIE-LABlab(40.83, 41.35, -46.88)
CIE-LCHlch(40.83, 62.51, 311.41°)
OKLaboklab(50.74% 0.0873 -0.1325)
OKLCHoklch(50.74% 0.159 303.4)
XYZxyz(17.8408, 11.7557, 41.3654)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7948AE #7DAE48
analogous
#484AAE #7948AE #AC48AE
triadic
#7948AE #AE7948 #48AE79
tetradic
#7948AE #AE484A #7DAE48 #48AEAC
square
#7948AE #AE484A #7DAE48 #48AEAC
split-complementary
#7948AE #AEAC48 #4AAE48
monochromatic
#3D2457 #5B3683 #7948AE #9870C4 #B79BD6

Accessibility & contrast

On white

6.27
#7948AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7948AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7948AE
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7948AE#FFFFFF#000000##FFFFFF
##7948AE1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5FB1
Deuteranopia (green-blind)
#3060AC
Tritanopia (blue-blind)
#6F5C74
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7948ae;
/* rgb */ color: rgb(121, 72, 174);
/* oklch */ color: oklch(50.7% 0.159 303.4);
Tailwind
colors: {
  custom: {
    50: '#a37dc7',
    500: '#7948ae',
    950: '#000000',
  },
}
SCSS
$custom: #7948ae;
$custom-light: #a37dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7948ae",
  "rgb": {
    "r": 121,
    "g": 72,
    "b": 174
  },
  "hsl": {
    "h": 268.824,
    "s": 41.463,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50744,
    "c": 0.15867,
    "h": 303.4
  },
  "luminance": 0.11756
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7948AE

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

Preview Lab → · Contrast checker → · Palette generator →

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