#7854EE#7854EE

#7854EE is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.1% C 0.220 H 288.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7854EE
RGBrgb(120, 84, 238)
HSLhsl(254, 82%, 63%)
HSVhsv(254, 65%, 93%)
CMYKcmyk(49.6%, 64.7%, 0%, 6.7%)
CIE-LABlab(47.63, 51.73, -72.75)
CIE-LCHlch(47.63, 89.26, 305.42°)
OKLaboklab(57.08% 0.0683 -0.2086)
OKLCHoklch(57.08% 0.22 288.1)
XYZxyz(26.3442, 16.5056, 82.6701)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7854EE #CAEE54
analogous
#547DEE #7854EE #C554EE
triadic
#7854EE #EE7854 #54EE78
tetradic
#7854EE #EE547D #CAEE54 #54EEC5
square
#7854EE #EE547D #CAEE54 #54EEC5
split-complementary
#7854EE #EEC554 #7DEE54
monochromatic
#3812B6 #4C1CE8 #7854EE #A48CF4 #D0C3F9

Accessibility & contrast

On white

4.88
#7854EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7854EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7854EE
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7854EE#FFFFFF#000000##FFFFFF
##7854EE1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F3
Deuteranopia (green-blind)
#006DEB
Tritanopia (blue-blind)
#4E7A9A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7854ee;
/* rgb */ color: rgb(120, 84, 238);
/* oklch */ color: oklch(57.1% 0.220 288.1);
Tailwind
colors: {
  custom: {
    50: '#a886f5',
    500: '#7854ee',
    950: '#000000',
  },
}
SCSS
$custom: #7854ee;
$custom-light: #a886f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7854ee",
  "rgb": {
    "r": 120,
    "g": 84,
    "b": 238
  },
  "hsl": {
    "h": 254.026,
    "s": 81.915,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57076,
    "c": 0.2195,
    "h": 288.1
  },
  "luminance": 0.16507
}

Semantic roles & 50–950 ramp

primary
#7854EE
secondary
#DEEAB3
accent
#DE07AC
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7854EE

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

Preview Lab → · Contrast checker → · Palette generator →

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