#7954F9#7954F9

#7954F9 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.0% C 0.232 H 287.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7954F9
RGBrgb(121, 84, 249)
HSLhsl(253, 93%, 65%)
HSVhsv(253, 66%, 98%)
CMYKcmyk(51.4%, 66.3%, 0%, 2.4%)
CIE-LABlab(48.57, 54.98, -77.38)
CIE-LCHlch(48.57, 94.92, 305.40°)
OKLaboklab(58.04% 0.0683 -0.2222)
OKLCHoklch(58.04% 0.232 287.1)
XYZxyz(28.1493, 17.2438, 91.4493)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7954F9 #D4F954
analogous
#5481F9 #7954F9 #CC54F9
triadic
#7954F9 #F97954 #54F979
tetradic
#7954F9 #F95481 #D4F954 #54F9CC
square
#7954F9 #F95481 #D4F954 #54F9CC
split-complementary
#7954F9 #F9CC54 #81F954
monochromatic
#3307CB #4B19F7 #7954F9 #A78FFB #D6CAFD

Accessibility & contrast

On white

4.72
#7954F9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#7954F9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7954F9
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7954F9#FFFFFF#000000##FFFFFF
##7954F91.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FE
Deuteranopia (green-blind)
#006FF6
Tritanopia (blue-blind)
#477EA0
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7954f9;
/* rgb */ color: rgb(121, 84, 249);
/* oklch */ color: oklch(58.0% 0.232 287.1);
Tailwind
colors: {
  custom: {
    50: '#aa86fc',
    500: '#7954f9',
    950: '#000000',
  },
}
SCSS
$custom: #7954f9;
$custom-light: #aa86fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7954f9",
  "rgb": {
    "r": 121,
    "g": 84,
    "b": 249
  },
  "hsl": {
    "h": 253.455,
    "s": 93.22,
    "l": 65.294
  },
  "oklch": {
    "l": 0.58035,
    "c": 0.23242,
    "h": 287.1
  },
  "luminance": 0.17245
}

Semantic roles & 50–950 ramp

primary
#7954F9
secondary
#E4F0B9
accent
#E600B2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7954F9

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

Preview Lab → · Contrast checker → · Palette generator →

#7954F9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva