#7948D7#7948D7

#7948D7 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.7% C 0.207 H 294.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#7948D7
RGBrgb(121, 72, 215)
HSLhsl(261, 64%, 56%)
HSVhsv(261, 67%, 84%)
CMYKcmyk(43.7%, 66.5%, 0%, 15.7%)
CIE-LABlab(43.66, 51.98, -66.16)
CIE-LCHlch(43.66, 84.13, 308.16°)
OKLaboklab(53.7% 0.0843 -0.1892)
OKLCHoklch(53.7% 0.207 294)
XYZxyz(22.4649, 13.6054, 65.7193)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7948D7 #A6D748
analogous
#485FD7 #7948D7 #C048D7
triadic
#7948D7 #D77948 #48D779
tetradic
#7948D7 #D7485F #A6D748 #48D7C0
square
#7948D7 #D7485F #A6D748 #48D7C0
split-complementary
#7948D7 #D7C048 #5FD748
monochromatic
#421E87 #5A29B9 #7948D7 #9E7AE2 #C3ACED

Accessibility & contrast

On white

5.64
#7948D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7948D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7948D7
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7948D7#FFFFFF#000000##FFFFFF
##7948D71.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#0065D4
Tritanopia (blue-blind)
#5F6B8A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7948d7;
/* rgb */ color: rgb(121, 72, 215);
/* oklch */ color: oklch(53.7% 0.207 294.0);
Tailwind
colors: {
  custom: {
    50: '#a77ee4',
    500: '#7948d7',
    950: '#000000',
  },
}
SCSS
$custom: #7948d7;
$custom-light: #a77ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#7948d7",
  "rgb": {
    "r": 121,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 260.559,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53699,
    "c": 0.20712,
    "h": 294
  },
  "luminance": 0.13606
}

Semantic roles & 50–950 ramp

primary
#7948D7
secondary
#C7DBA0
accent
#E741AE
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7948D7

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

Preview Lab → · Contrast checker → · Palette generator →

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