#7954E6#7954E6

#7954E6 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.5% C 0.210 H 289.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7954E6
RGBrgb(121, 84, 230)
HSLhsl(255, 74%, 62%)
HSVhsv(255, 63%, 90%)
CMYKcmyk(47.4%, 63.5%, 0%, 9.8%)
CIE-LABlab(47.13, 49.67, -69.05)
CIE-LCHlch(47.13, 85.06, 305.73°)
OKLaboklab(56.55% 0.0705 -0.1977)
OKLCHoklch(56.55% 0.21 289.6)
XYZxyz(25.3343, 16.1178, 76.6237)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7954E6 #C1E654
analogous
#5478E6 #7954E6 #C254E6
triadic
#7954E6 #E67954 #54E679
tetradic
#7954E6 #E65478 #C1E654 #54E6C2
square
#7954E6 #E65478 #C1E654 #54E6C2
split-complementary
#7954E6 #E6C254 #78E654
monochromatic
#3D18A7 #5020DD #7954E6 #A389EE #CDBFF6

Accessibility & contrast

On white

4.97
#7954E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7954E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7954E6
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7954E6#FFFFFF#000000##FFFFFF
##7954E61.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EB
Deuteranopia (green-blind)
#006CE3
Tritanopia (blue-blind)
#557795
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7954e6;
/* rgb */ color: rgb(121, 84, 230);
/* oklch */ color: oklch(56.5% 0.210 289.6);
Tailwind
colors: {
  custom: {
    50: '#a886ef',
    500: '#7954e6',
    950: '#000000',
  },
}
SCSS
$custom: #7954e6;
$custom-light: #a886ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7954e6",
  "rgb": {
    "r": 121,
    "g": 84,
    "b": 230
  },
  "hsl": {
    "h": 255.205,
    "s": 74.49,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56549,
    "c": 0.2099,
    "h": 289.6
  },
  "luminance": 0.16119
}

Semantic roles & 50–950 ramp

primary
#7954E6
secondary
#D8E6B0
accent
#D70FA4
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7954E6

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

Preview Lab → · Contrast checker → · Palette generator →

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