#7948D5#7948D5

#7948D5 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.5% C 0.205 H 294.4°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7948D5
RGBrgb(121, 72, 213)
HSLhsl(261, 63%, 56%)
HSVhsv(261, 66%, 84%)
CMYKcmyk(43.2%, 66.2%, 0%, 16.5%)
CIE-LABlab(43.51, 51.45, -65.25)
CIE-LCHlch(43.51, 83.10, 308.25°)
OKLaboklab(53.54% 0.0846 -0.1865)
OKLCHoklch(53.54% 0.205 294.4)
XYZxyz(22.2095, 13.5032, 64.3741)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7948D5 #A4D548
analogous
#485DD5 #7948D5 #BF48D5
triadic
#7948D5 #D57948 #48D579
tetradic
#7948D5 #D5485D #A4D548 #48D5BF
square
#7948D5 #D5485D #A4D548 #48D5BF
split-complementary
#7948D5 #D5BF48 #5DD548
monochromatic
#421E84 #5B2AB6 #7948D5 #9D7AE0 #C2ACEC

Accessibility & contrast

On white

5.67
#7948D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7948D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7948D5
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7948D5#FFFFFF#000000##FFFFFF
##7948D51.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D9
Deuteranopia (green-blind)
#0064D2
Tritanopia (blue-blind)
#606A88
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7948d5;
/* rgb */ color: rgb(121, 72, 213);
/* oklch */ color: oklch(53.5% 0.205 294.4);
Tailwind
colors: {
  custom: {
    50: '#a77ee3',
    500: '#7948d5',
    950: '#000000',
  },
}
SCSS
$custom: #7948d5;
$custom-light: #a77ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#7948d5",
  "rgb": {
    "r": 121,
    "g": 72,
    "b": 213
  },
  "hsl": {
    "h": 260.851,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53544,
    "c": 0.2048,
    "h": 294.4
  },
  "luminance": 0.13504
}

Semantic roles & 50–950 ramp

primary
#7948D5
secondary
#C5DA9F
accent
#E642AD
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7948D5

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

Preview Lab → · Contrast checker → · Palette generator →

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