#7854E4#7854E4

#7854E4 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.3% C 0.208 H 289.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7854E4
RGBrgb(120, 84, 228)
HSLhsl(255, 73%, 61%)
HSVhsv(255, 63%, 89%)
CMYKcmyk(47.4%, 63.2%, 0%, 10.6%)
CIE-LABlab(46.89, 48.93, -68.32)
CIE-LCHlch(46.89, 84.03, 305.61°)
OKLaboklab(56.31% 0.0694 -0.1956)
OKLCHoklch(56.31% 0.208 289.5)
XYZxyz(24.9156, 15.9342, 75.1465)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7854E4 #C0E454
analogous
#5478E4 #7854E4 #C054E4
triadic
#7854E4 #E47854 #54E478
tetradic
#7854E4 #E45478 #C0E454 #54E4C0
square
#7854E4 #E45478 #C0E454 #54E4C0
split-complementary
#7854E4 #E4C054 #78E454
monochromatic
#3C1AA4 #5022D9 #7854E4 #A289EC #CBBEF5

Accessibility & contrast

On white

5.02
#7854E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7854E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7854E4
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7854E4#FFFFFF#000000##FFFFFF
##7854E41.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E9
Deuteranopia (green-blind)
#006CE1
Tritanopia (blue-blind)
#557694
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7854e4;
/* rgb */ color: rgb(120, 84, 228);
/* oklch */ color: oklch(56.3% 0.208 289.5);
Tailwind
colors: {
  custom: {
    50: '#a786ed',
    500: '#7854e4',
    950: '#000000',
  },
}
SCSS
$custom: #7854e4;
$custom-light: #a786ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7854e4",
  "rgb": {
    "r": 120,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 255,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.56306,
    "c": 0.20751,
    "h": 289.5
  },
  "luminance": 0.15935
}

Semantic roles & 50–950 ramp

primary
#7854E4
secondary
#D7E5AF
accent
#D511A4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7854E4

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

Preview Lab → · Contrast checker → · Palette generator →

#7854E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva