#7954FA#7954FA

#7954FA is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.1% C 0.234 H 287.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7954FA
RGBrgb(121, 84, 250)
HSLhsl(253, 94%, 65%)
HSVhsv(253, 66%, 98%)
CMYKcmyk(51.6%, 66.4%, 0%, 2%)
CIE-LABlab(48.64, 55.26, -77.81)
CIE-LCHlch(48.64, 95.44, 305.38°)
OKLaboklab(58.12% 0.0681 -0.2234)
OKLCHoklch(58.12% 0.234 287)
XYZxyz(28.3057, 17.3063, 92.2729)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7954FA #D5FA54
analogous
#5482FA #7954FA #CC54FA
triadic
#7954FA #FA7954 #54FA79
tetradic
#7954FA #FA5482 #D5FA54 #54FACC
square
#7954FA #FA5482 #D5FA54 #54FACC
split-complementary
#7954FA #FACC54 #82FA54
monochromatic
#3206CE #4A19F8 #7954FA #A88FFC #D6CBFD

Accessibility & contrast

On white

4.71
#7954FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7954FA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7954FA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7954FA#FFFFFF#000000##FFFFFF
##7954FA1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#006FF7
Tritanopia (blue-blind)
#477EA0
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7954fa;
/* rgb */ color: rgb(121, 84, 250);
/* oklch */ color: oklch(58.1% 0.234 287.0);
Tailwind
colors: {
  custom: {
    50: '#aa87fd',
    500: '#7954fa',
    950: '#000000',
  },
}
SCSS
$custom: #7954fa;
$custom-light: #aa87fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7954fa",
  "rgb": {
    "r": 121,
    "g": 84,
    "b": 250
  },
  "hsl": {
    "h": 253.373,
    "s": 94.318,
    "l": 65.49
  },
  "oklch": {
    "l": 0.58115,
    "c": 0.23358,
    "h": 287
  },
  "luminance": 0.17308
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7954FA

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

Preview Lab → · Contrast checker → · Palette generator →

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