#7954E8#7954E8

#7954E8 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.7% C 0.212 H 289.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7954E8
RGBrgb(121, 84, 232)
HSLhsl(255, 76%, 62%)
HSVhsv(255, 64%, 91%)
CMYKcmyk(47.8%, 63.8%, 0%, 9%)
CIE-LABlab(47.28, 50.23, -69.94)
CIE-LCHlch(47.28, 86.11, 305.69°)
OKLaboklab(56.7% 0.0703 -0.2003)
OKLCHoklch(56.7% 0.212 289.3)
XYZxyz(25.6168, 16.2307, 78.1114)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7954E8 #C3E854
analogous
#5479E8 #7954E8 #C354E8
triadic
#7954E8 #E87954 #54E879
tetradic
#7954E8 #E85479 #C3E854 #54E8C3
square
#7954E8 #E85479 #C3E854 #54E8C3
split-complementary
#7954E8 #E8C354 #79E854
monochromatic
#3C17AB #4F1EE1 #7954E8 #A38AEF #CEC0F7

Accessibility & contrast

On white

4.95
#7954E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#7954E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7954E8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7954E8#FFFFFF#000000##FFFFFF
##7954E81.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073ED
Deuteranopia (green-blind)
#006CE5
Tritanopia (blue-blind)
#547897
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7954e8;
/* rgb */ color: rgb(121, 84, 232);
/* oklch */ color: oklch(56.7% 0.212 289.3);
Tailwind
colors: {
  custom: {
    50: '#a886f0',
    500: '#7954e8',
    950: '#000000',
  },
}
SCSS
$custom: #7954e8;
$custom-light: #a886f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7954e8",
  "rgb": {
    "r": 121,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 255,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.56702,
    "c": 0.2123,
    "h": 289.3
  },
  "luminance": 0.16232
}

Semantic roles & 50–950 ramp

primary
#7954E8
secondary
#DAE7B1
accent
#D80DA6
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7954E8

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

Preview Lab → · Contrast checker → · Palette generator →

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