#7948FF#7948FF

#7948FF is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 57.0% C 0.252 H 287.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7948FF
RGBrgb(121, 72, 255)
HSLhsl(256, 100%, 64%)
HSVhsv(256, 72%, 100%)
CMYKcmyk(52.5%, 71.8%, 0%, 0%)
CIE-LABlab(46.87, 62.69, -83.50)
CIE-LCHlch(46.87, 104.42, 306.90°)
OKLaboklab(56.97% 0.0772 -0.2401)
OKLCHoklch(56.97% 0.252 287.8)
XYZxyz(28.2472, 15.9183, 96.1725)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7948FF #CEFF48
analogous
#4873FF #7948FF #D548FF
triadic
#7948FF #FF7948 #48FF79
tetradic
#7948FF #FF4873 #CEFF48 #48FFD5
square
#7948FF #FF4873 #CEFF48 #48FFD5
split-complementary
#7948FF #FFD548 #73FF48
monochromatic
#3700CD #4C0BFF #7948FF #A685FF #D3C2FF

Accessibility & contrast

On white

5.02
#7948FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7948FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7948FF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7948FF#FFFFFF#000000##FFFFFF
##7948FF1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073FF
Deuteranopia (green-blind)
#006AFC
Tritanopia (blue-blind)
#437AA0
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7948ff;
/* rgb */ color: rgb(121, 72, 255);
/* oklch */ color: oklch(57.0% 0.252 287.8);
Tailwind
colors: {
  custom: {
    50: '#ac7fff',
    500: '#7948ff',
    950: '#000000',
  },
}
SCSS
$custom: #7948ff;
$custom-light: #ac7fff;
$custom-dark: #000000;
JSON
{
  "hex": "#7948ff",
  "rgb": {
    "r": 121,
    "g": 72,
    "b": 255
  },
  "hsl": {
    "h": 256.066,
    "s": 100,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56974,
    "c": 0.25218,
    "h": 287.8
  },
  "luminance": 0.1592
}

Semantic roles & 50–950 ramp

primary
#7948FF
secondary
#E0F1B1
accent
#E600A8
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110A18
muted
#807C86

Preview Lab

Preview with #7948FF

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

Preview Lab → · Contrast checker → · Palette generator →

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