#7854DE#7854DE

#7854DE is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 55.9% C 0.200 H 290.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7854DE
RGBrgb(120, 84, 222)
HSLhsl(256, 68%, 60%)
HSVhsv(256, 62%, 87%)
CMYKcmyk(45.9%, 62.2%, 0%, 12.9%)
CIE-LABlab(46.45, 47.26, -65.62)
CIE-LCHlch(46.45, 80.86, 305.76°)
OKLaboklab(55.86% 0.0699 -0.1876)
OKLCHoklch(55.86% 0.2 290.4)
XYZxyz(24.0972, 15.6068, 70.8358)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7854DE #BADE54
analogous
#5475DE #7854DE #BD54DE
triadic
#7854DE #DE7854 #54DE78
tetradic
#7854DE #DE5475 #BADE54 #54DEBD
square
#7854DE #DE5475 #BADE54 #54DEBD
split-complementary
#7854DE #DEBD54 #75DE54
monochromatic
#3E1E9A #5328CD #7854DE #A087E8 #C9BBF2

Accessibility & contrast

On white

5.10
#7854DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#7854DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7854DE
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7854DE#FFFFFF#000000##FFFFFF
##7854DE1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E2
Deuteranopia (green-blind)
#006BDB
Tritanopia (blue-blind)
#587491
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7854de;
/* rgb */ color: rgb(120, 84, 222);
/* oklch */ color: oklch(55.9% 0.200 290.4);
Tailwind
colors: {
  custom: {
    50: '#a686e9',
    500: '#7854de',
    950: '#000000',
  },
}
SCSS
$custom: #7854de;
$custom-light: #a686e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7854de",
  "rgb": {
    "r": 120,
    "g": 84,
    "b": 222
  },
  "hsl": {
    "h": 255.652,
    "s": 67.647,
    "l": 60
  },
  "oklch": {
    "l": 0.55855,
    "c": 0.20022,
    "h": 290.4
  },
  "luminance": 0.15608
}

Semantic roles & 50–950 ramp

primary
#7854DE
secondary
#D4E1AC
accent
#EB3DBD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7854DE

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

Preview Lab → · Contrast checker → · Palette generator →

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