#7954BE#7954BE

#7954BE is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.7% C 0.160 H 296.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7954BE
RGBrgb(121, 84, 190)
HSLhsl(261, 45%, 54%)
HSVhsv(261, 56%, 75%)
CMYKcmyk(36.3%, 55.8%, 0%, 25.5%)
CIE-LABlab(44.41, 38.72, -50.52)
CIE-LCHlch(44.41, 63.65, 307.47°)
OKLaboklab(53.7% 0.0722 -0.1432)
OKLCHoklch(53.7% 0.16 296.7)
XYZxyz(20.3474, 14.1230, 50.3592)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7954BE #99BE54
analogous
#5464BE #7954BE #AE54BE
triadic
#7954BE #BE7954 #54BE79
tetradic
#7954BE #BE5464 #99BE54 #54BEAE
square
#7954BE #BE5464 #99BE54 #54BEAE
split-complementary
#7954BE #BEAE54 #64BE54
monochromatic
#422A6E #5C3B9A #7954BE #9C80CF #BEADE0

Accessibility & contrast

On white

5.49
#7954BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#7954BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7954BE
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7954BE#FFFFFF#000000##FFFFFF
##7954BE1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2369C2
Deuteranopia (green-blind)
#3068BC
Tritanopia (blue-blind)
#696A81
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7954be;
/* rgb */ color: rgb(121, 84, 190);
/* oklch */ color: oklch(53.7% 0.160 296.7);
Tailwind
colors: {
  custom: {
    50: '#a485d2',
    500: '#7954be',
    950: '#000000',
  },
}
SCSS
$custom: #7954be;
$custom-light: #a485d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7954be",
  "rgb": {
    "r": 121,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 260.943,
    "s": 44.915,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53698,
    "c": 0.16035,
    "h": 296.7
  },
  "luminance": 0.14123
}

Semantic roles & 50–950 ramp

primary
#7954BE
secondary
#BECEA0
accent
#D553A7
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7954BE

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

Preview Lab → · Contrast checker → · Palette generator →

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