#7854BE#7854BE

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

Color values

HEX#7854BE
RGBrgb(120, 84, 190)
HSLhsl(260, 45%, 54%)
HSVhsv(260, 56%, 75%)
CMYKcmyk(36.8%, 55.8%, 0%, 25.5%)
CIE-LABlab(44.31, 38.48, -50.69)
CIE-LCHlch(44.31, 63.64, 307.21°)
OKLaboklab(53.6% 0.0709 -0.1437)
OKLCHoklch(53.6% 0.16 296.2)
XYZxyz(20.2079, 14.0511, 50.3527)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7854BE #9ABE54
analogous
#5465BE #7854BE #AD54BE
triadic
#7854BE #BE7854 #54BE78
tetradic
#7854BE #BE5465 #9ABE54 #54BEAD
square
#7854BE #BE5465 #9ABE54 #54BEAD
split-complementary
#7854BE #BEAD54 #65BE54
monochromatic
#412A6E #5B3B9A #7854BE #9B80CF #BEADE0

Accessibility & contrast

On white

5.51
#7854BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7854BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7854BE
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7854BE#FFFFFF#000000##FFFFFF
##7854BE1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2369C2
Deuteranopia (green-blind)
#2F67BC
Tritanopia (blue-blind)
#676A81
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7854be;
/* rgb */ color: rgb(120, 84, 190);
/* oklch */ color: oklch(53.6% 0.160 296.2);
Tailwind
colors: {
  custom: {
    50: '#a385d2',
    500: '#7854be',
    950: '#000000',
  },
}
SCSS
$custom: #7854be;
$custom-light: #a385d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7854be",
  "rgb": {
    "r": 120,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 260.377,
    "s": 44.915,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53599,
    "c": 0.16024,
    "h": 296.2
  },
  "luminance": 0.14051
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7854BE

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

Preview Lab → · Contrast checker → · Palette generator →

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