#7948A4#7948A4

#7948A4 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.1% C 0.147 H 306.4°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#7948A4
RGBrgb(121, 72, 164)
HSLhsl(272, 39%, 46%)
HSVhsv(272, 56%, 64%)
CMYKcmyk(26.2%, 56.1%, 0%, 35.7%)
CIE-LABlab(40.21, 38.87, -41.91)
CIE-LCHlch(40.21, 57.16, 312.84°)
OKLaboklab(50.1% 0.087 -0.118)
OKLCHoklch(50.1% 0.147 306.4)
XYZxyz(16.9020, 11.3802, 36.4209)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7948A4 #73A448
analogous
#4B48A4 #7948A4 #A448A1
triadic
#7948A4 #A47948 #48A479
tetradic
#7948A4 #A44B48 #73A448 #48A1A4
square
#7948A4 #A44B48 #73A448 #48A1A4
split-complementary
#7948A4 #A1A448 #48A44B
monochromatic
#3A234F #5A3579 #7948A4 #976BBE #B596D1

Accessibility & contrast

On white

6.41
#7948A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7948A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7948A4
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7948A4#FFFFFF#000000##FFFFFF
##7948A41.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285DA7
Deuteranopia (green-blind)
#395FA2
Tritanopia (blue-blind)
#72596F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7948a4;
/* rgb */ color: rgb(121, 72, 164);
/* oklch */ color: oklch(50.1% 0.147 306.4);
Tailwind
colors: {
  custom: {
    50: '#a27dbf',
    500: '#7948a4',
    950: '#000000',
  },
}
SCSS
$custom: #7948a4;
$custom-light: #a27dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#7948a4",
  "rgb": {
    "r": 121,
    "g": 72,
    "b": 164
  },
  "hsl": {
    "h": 271.957,
    "s": 38.983,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50099,
    "c": 0.1466,
    "h": 306.4
  },
  "luminance": 0.1138
}

Semantic roles & 50–950 ramp

primary
#7948A4
secondary
#A2BD8B
accent
#CF5990
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #7948A4

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

Preview Lab → · Contrast checker → · Palette generator →

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