#7948C7#7948C7

#7948C7 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.5% C 0.188 H 297.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#7948C7
RGBrgb(121, 72, 199)
HSLhsl(263, 53%, 53%)
HSVhsv(263, 64%, 78%)
CMYKcmyk(39.2%, 63.8%, 0%, 22%)
CIE-LABlab(42.50, 47.76, -58.83)
CIE-LCHlch(42.50, 75.78, 309.07°)
OKLaboklab(52.49% 0.0861 -0.1676)
OKLCHoklch(52.49% 0.188 297.2)
XYZxyz(20.5087, 12.8229, 55.4163)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7948C7 #96C748
analogous
#4856C7 #7948C7 #B948C7
triadic
#7948C7 #C77948 #48C779
tetradic
#7948C7 #C74856 #96C748 #48C7B9
square
#7948C7 #C74856 #96C748 #48C7B9
split-complementary
#7948C7 #C7B948 #56C748
monochromatic
#412372 #5C31A1 #7948C7 #9B77D5 #BEA6E4

Accessibility & contrast

On white

5.89
#7948C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7948C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7948C7
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7948C7#FFFFFF#000000##FFFFFF
##7948C71.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CB
Deuteranopia (green-blind)
#0063C4
Tritanopia (blue-blind)
#666581
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7948c7;
/* rgb */ color: rgb(121, 72, 199);
/* oklch */ color: oklch(52.5% 0.188 297.2);
Tailwind
colors: {
  custom: {
    50: '#a57ed9',
    500: '#7948c7',
    950: '#000000',
  },
}
SCSS
$custom: #7948c7;
$custom-light: #a57ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#7948c7",
  "rgb": {
    "r": 121,
    "g": 72,
    "b": 199
  },
  "hsl": {
    "h": 263.15,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52491,
    "c": 0.18846,
    "h": 297.2
  },
  "luminance": 0.12823
}

Semantic roles & 50–950 ramp

primary
#7948C7
secondary
#BCD19A
accent
#DD4BA4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7948C7

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

Preview Lab → · Contrast checker → · Palette generator →

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