#7954FF#7954FF

#7954FF is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.5% C 0.239 H 286.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7954FF
RGBrgb(121, 84, 255)
HSLhsl(253, 100%, 66%)
HSVhsv(253, 67%, 100%)
CMYKcmyk(52.5%, 67.1%, 0%, 0%)
CIE-LABlab(49.04, 56.66, -79.95)
CIE-LCHlch(49.04, 97.99, 305.33°)
OKLaboklab(58.52% 0.0674 -0.2297)
OKLCHoklch(58.52% 0.239 286.3)
XYZxyz(29.1001, 17.6241, 96.4568)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7954FF #DAFF54
analogous
#5485FF #7954FF #CE54FF
triadic
#7954FF #FF7954 #54FF79
tetradic
#7954FF #FF5485 #DAFF54 #54FFCE
square
#7954FF #FF5485 #DAFF54 #54FFCE
split-complementary
#7954FF #FFCE54 #85FF54
monochromatic
#2F00D9 #4917FF #7954FF #A991FF #D9CEFF

Accessibility & contrast

On white

4.64
#7954FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#7954FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7954FF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7954FF#FFFFFF#000000##FFFFFF
##7954FF1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#0070FC
Tritanopia (blue-blind)
#4280A3
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7954ff;
/* rgb */ color: rgb(121, 84, 255);
/* oklch */ color: oklch(58.5% 0.239 286.3);
Tailwind
colors: {
  custom: {
    50: '#ab87ff',
    500: '#7954ff',
    950: '#000000',
  },
}
SCSS
$custom: #7954ff;
$custom-light: #ab87ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7954ff",
  "rgb": {
    "r": 121,
    "g": 84,
    "b": 255
  },
  "hsl": {
    "h": 252.982,
    "s": 100,
    "l": 66.471
  },
  "oklch": {
    "l": 0.58519,
    "c": 0.23939,
    "h": 286.3
  },
  "luminance": 0.17626
}

Semantic roles & 50–950 ramp

primary
#7954FF
secondary
#E7F3BC
accent
#E600B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7954FF

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

Preview Lab → · Contrast checker → · Palette generator →

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