#7954DE#7954DE

#7954DE is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 55.9% C 0.200 H 290.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7954DE
RGBrgb(121, 84, 222)
HSLhsl(256, 68%, 60%)
HSVhsv(256, 62%, 87%)
CMYKcmyk(45.5%, 62.2%, 0%, 12.9%)
CIE-LABlab(46.55, 47.45, -65.46)
CIE-LCHlch(46.55, 80.85, 305.94°)
OKLaboklab(55.95% 0.0712 -0.1871)
OKLCHoklch(55.95% 0.2 290.8)
XYZxyz(24.2366, 15.6787, 70.8424)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7954DE #B9DE54
analogous
#5474DE #7954DE #BE54DE
triadic
#7954DE #DE7954 #54DE79
tetradic
#7954DE #DE5474 #B9DE54 #54DEBE
square
#7954DE #DE5474 #B9DE54 #54DEBE
split-complementary
#7954DE #DEBE54 #74DE54
monochromatic
#3F1E9A #5428CD #7954DE #A187E8 #C9BBF2

Accessibility & contrast

On white

5.08
#7954DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7954DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7954DE
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7954DE#FFFFFF#000000##FFFFFF
##7954DE1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E2
Deuteranopia (green-blind)
#006BDB
Tritanopia (blue-blind)
#5A7491
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7954de;
/* rgb */ color: rgb(121, 84, 222);
/* oklch */ color: oklch(55.9% 0.200 290.8);
Tailwind
colors: {
  custom: {
    50: '#a786e9',
    500: '#7954de',
    950: '#000000',
  },
}
SCSS
$custom: #7954de;
$custom-light: #a786e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7954de",
  "rgb": {
    "r": 121,
    "g": 84,
    "b": 222
  },
  "hsl": {
    "h": 256.087,
    "s": 67.647,
    "l": 60
  },
  "oklch": {
    "l": 0.55947,
    "c": 0.20022,
    "h": 290.8
  },
  "luminance": 0.1568
}

Semantic roles & 50–950 ramp

primary
#7954DE
secondary
#D3E1AC
accent
#EB3DBC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7954DE

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

Preview Lab → · Contrast checker → · Palette generator →

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