#7854DA#7854DA

#7854DA is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.6% C 0.195 H 291.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7854DA
RGBrgb(120, 84, 218)
HSLhsl(256, 64%, 59%)
HSVhsv(256, 61%, 85%)
CMYKcmyk(45%, 61.5%, 0%, 14.5%)
CIE-LABlab(46.17, 46.14, -63.80)
CIE-LCHlch(46.17, 78.74, 305.88°)
OKLaboklab(55.56% 0.0702 -0.1823)
OKLCHoklch(55.56% 0.195 291.1)
XYZxyz(23.5674, 15.3949, 68.0458)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7854DA #B6DA54
analogous
#5473DA #7854DA #BB54DA
triadic
#7854DA #DA7854 #54DA78
tetradic
#7854DA #DA5473 #B6DA54 #54DABB
square
#7854DA #DA5473 #B6DA54 #54DABB
split-complementary
#7854DA #DABB54 #73DA54
monochromatic
#3F2094 #552BC6 #7854DA #A086E5 #C7B9F0

Accessibility & contrast

On white

5.15
#7854DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7854DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7854DA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7854DA#FFFFFF#000000##FFFFFF
##7854DA1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DE
Deuteranopia (green-blind)
#006AD7
Tritanopia (blue-blind)
#5B738F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7854da;
/* rgb */ color: rgb(120, 84, 218);
/* oklch */ color: oklch(55.6% 0.195 291.1);
Tailwind
colors: {
  custom: {
    50: '#a686e6',
    500: '#7854da',
    950: '#000000',
  },
}
SCSS
$custom: #7854da;
$custom-light: #a686e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7854da",
  "rgb": {
    "r": 120,
    "g": 84,
    "b": 218
  },
  "hsl": {
    "h": 256.119,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55558,
    "c": 0.19533,
    "h": 291.1
  },
  "luminance": 0.15396
}

Semantic roles & 50–950 ramp

primary
#7854DA
secondary
#D1DFAB
accent
#E740BB
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7854DA

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

Preview Lab → · Contrast checker → · Palette generator →

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