#7854BF#7854BF

#7854BF is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.7% C 0.162 H 296.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7854BF
RGBrgb(120, 84, 191)
HSLhsl(260, 46%, 54%)
HSVhsv(260, 56%, 75%)
CMYKcmyk(37.2%, 56%, 0%, 25.1%)
CIE-LABlab(44.37, 38.75, -51.17)
CIE-LCHlch(44.37, 64.19, 307.14°)
OKLaboklab(53.67% 0.0709 -0.1451)
OKLCHoklch(53.67% 0.162 296)
XYZxyz(20.3176, 14.0949, 50.9303)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7854BF #9BBF54
analogous
#5466BF #7854BF #AE54BF
triadic
#7854BF #BF7854 #54BF78
tetradic
#7854BF #BF5466 #9BBF54 #54BFAE
square
#7854BF #BF5466 #9BBF54 #54BFAE
split-complementary
#7854BF #BFAE54 #66BF54
monochromatic
#412A6F #5B3A9C #7854BF #9B81D0 #BEADE0

Accessibility & contrast

On white

5.50
#7854BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#7854BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7854BF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7854BF#FFFFFF#000000##FFFFFF
##7854BF1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216AC3
Deuteranopia (green-blind)
#2D67BD
Tritanopia (blue-blind)
#676A81
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7854bf;
/* rgb */ color: rgb(120, 84, 191);
/* oklch */ color: oklch(53.7% 0.162 296.0);
Tailwind
colors: {
  custom: {
    50: '#a385d3',
    500: '#7854bf',
    950: '#000000',
  },
}
SCSS
$custom: #7854bf;
$custom-light: #a385d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7854bf",
  "rgb": {
    "r": 120,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 260.187,
    "s": 45.532,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53665,
    "c": 0.16152,
    "h": 296
  },
  "luminance": 0.14095
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7854BF

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

Preview Lab → · Contrast checker → · Palette generator →

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