#7954E4#7954E4

#7954E4 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.4% C 0.207 H 289.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7954E4
RGBrgb(121, 84, 228)
HSLhsl(255, 73%, 61%)
HSVhsv(255, 63%, 89%)
CMYKcmyk(46.9%, 63.2%, 0%, 10.6%)
CIE-LABlab(46.98, 49.12, -68.16)
CIE-LCHlch(46.98, 84.01, 305.78°)
OKLaboklab(56.4% 0.0707 -0.1951)
OKLCHoklch(56.4% 0.207 289.9)
XYZxyz(25.0551, 16.0061, 75.1531)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7954E4 #BFE454
analogous
#5477E4 #7954E4 #C154E4
triadic
#7954E4 #E47954 #54E479
tetradic
#7954E4 #E45477 #BFE454 #54E4C1
square
#7954E4 #E45477 #BFE454 #54E4C1
split-complementary
#7954E4 #E4C154 #77E454
monochromatic
#3D1AA4 #5122D9 #7954E4 #A289EC #CCBEF5

Accessibility & contrast

On white

5.00
#7954E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7954E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7954E4
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7954E4#FFFFFF#000000##FFFFFF
##7954E41.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E9
Deuteranopia (green-blind)
#006CE1
Tritanopia (blue-blind)
#577694
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7954e4;
/* rgb */ color: rgb(121, 84, 228);
/* oklch */ color: oklch(56.4% 0.207 289.9);
Tailwind
colors: {
  custom: {
    50: '#a886ed',
    500: '#7954e4',
    950: '#000000',
  },
}
SCSS
$custom: #7954e4;
$custom-light: #a886ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7954e4",
  "rgb": {
    "r": 121,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 255.417,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.56397,
    "c": 0.20749,
    "h": 289.9
  },
  "luminance": 0.16007
}

Semantic roles & 50–950 ramp

primary
#7954E4
secondary
#D7E5AF
accent
#D511A2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7954E4

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

Preview Lab → · Contrast checker → · Palette generator →

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