#7948D8#7948D8

#7948D8 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.8% C 0.208 H 293.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7948D8
RGBrgb(121, 72, 216)
HSLhsl(260, 65%, 56%)
HSVhsv(260, 67%, 85%)
CMYKcmyk(44%, 66.7%, 0%, 15.3%)
CIE-LABlab(43.74, 52.25, -66.61)
CIE-LCHlch(43.74, 84.65, 308.11°)
OKLaboklab(53.78% 0.0842 -0.1905)
OKLCHoklch(53.78% 0.208 293.8)
XYZxyz(22.5938, 13.6569, 66.3981)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7948D8 #A7D848
analogous
#485FD8 #7948D8 #C148D8
triadic
#7948D8 #D87948 #48D879
tetradic
#7948D8 #D8485F #A7D848 #48D8C1
square
#7948D8 #D8485F #A7D848 #48D8C1
split-complementary
#7948D8 #D8C148 #5FD848
monochromatic
#421D89 #5A28BB #7948D8 #9E7AE3 #C3ADEE

Accessibility & contrast

On white

5.63
#7948D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7948D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7948D8
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7948D8#FFFFFF#000000##FFFFFF
##7948D81.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DC
Deuteranopia (green-blind)
#0065D5
Tritanopia (blue-blind)
#5E6B8A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7948d8;
/* rgb */ color: rgb(121, 72, 216);
/* oklch */ color: oklch(53.8% 0.208 293.8);
Tailwind
colors: {
  custom: {
    50: '#a77ee5',
    500: '#7948d8',
    950: '#000000',
  },
}
SCSS
$custom: #7948d8;
$custom-light: #a77ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#7948d8",
  "rgb": {
    "r": 121,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 260.417,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53776,
    "c": 0.20827,
    "h": 293.8
  },
  "luminance": 0.13658
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7948D8

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

Preview Lab → · Contrast checker → · Palette generator →

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