#7948B7#7948B7

#7948B7 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.4% C 0.169 H 300.9°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#7948B7
RGBrgb(121, 72, 183)
HSLhsl(266, 44%, 50%)
HSVhsv(266, 61%, 72%)
CMYKcmyk(33.9%, 60.7%, 0%, 28.2%)
CIE-LABlab(41.40, 43.62, -51.25)
CIE-LCHlch(41.40, 67.30, 310.40°)
OKLaboklab(51.35% 0.0871 -0.1453)
OKLCHoklch(51.35% 0.169 300.9)
XYZxyz(18.7477, 12.1185, 46.1420)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7948B7 #86B748
analogous
#484FB7 #7948B7 #B048B7
triadic
#7948B7 #B77948 #48B779
tetradic
#7948B7 #B7484F #86B748 #48B7B0
square
#7948B7 #B7484F #86B748 #48B7B0
split-complementary
#7948B7 #B7B048 #4FB748
monochromatic
#3F255F #5C378B #7948B7 #9974C8 #B9A0DA

Accessibility & contrast

On white

6.13
#7948B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7948B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7948B7
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7948B7#FFFFFF#000000##FFFFFF
##7948B71.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0161BB
Deuteranopia (green-blind)
#2461B5
Tritanopia (blue-blind)
#6C5F79
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7948b7;
/* rgb */ color: rgb(121, 72, 183);
/* oklch */ color: oklch(51.4% 0.169 300.9);
Tailwind
colors: {
  custom: {
    50: '#a47dcd',
    500: '#7948b7',
    950: '#000000',
  },
}
SCSS
$custom: #7948b7;
$custom-light: #a47dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#7948b7",
  "rgb": {
    "r": 121,
    "g": 72,
    "b": 183
  },
  "hsl": {
    "h": 266.486,
    "s": 43.529,
    "l": 50
  },
  "oklch": {
    "l": 0.51352,
    "c": 0.16946,
    "h": 300.9
  },
  "luminance": 0.12119
}

Semantic roles & 50–950 ramp

primary
#7948B7
secondary
#B0C695
accent
#D3559B
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #7948B7

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

Preview Lab → · Contrast checker → · Palette generator →

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