#7860BB#7860BB

#7860BB is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.5% C 0.138 H 293.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7860BB
RGBrgb(120, 96, 187)
HSLhsl(256, 40%, 55%)
HSVhsv(256, 49%, 73%)
CMYKcmyk(35.8%, 48.7%, 0%, 26.7%)
CIE-LABlab(46.90, 30.63, -44.79)
CIE-LCHlch(46.90, 54.26, 304.37°)
OKLaboklab(55.47% 0.0551 -0.1264)
OKLCHoklch(55.47% 0.138 293.6)
XYZxyz(20.8959, 15.9462, 48.9811)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7860BB #A3BB60
analogous
#6075BB #7860BB #A560BB
triadic
#7860BB #BB7860 #60BB78
tetradic
#7860BB #BB6075 #A3BB60 #60BBA5
square
#7860BB #BB6075 #A3BB60 #60BBA5
split-complementary
#7860BB #BBA560 #75BB60
monochromatic
#413070 #5A429B #7860BB #9C8BCD #C1B6E0

Accessibility & contrast

On white

5.01
#7860BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7860BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7860BB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7860BB#FFFFFF#000000##FFFFFF
##7860BB1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F70BE
Deuteranopia (green-blind)
#436EB9
Tritanopia (blue-blind)
#687285
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7860bb;
/* rgb */ color: rgb(120, 96, 187);
/* oklch */ color: oklch(55.5% 0.138 293.6);
Tailwind
colors: {
  custom: {
    50: '#a28dd0',
    500: '#7860bb',
    950: '#000000',
  },
}
SCSS
$custom: #7860bb;
$custom-light: #a28dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7860bb",
  "rgb": {
    "r": 120,
    "g": 96,
    "b": 187
  },
  "hsl": {
    "h": 255.824,
    "s": 40.088,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55472,
    "c": 0.13793,
    "h": 293.6
  },
  "luminance": 0.15947
}

Semantic roles & 50–950 ramp

primary
#7860BB
secondary
#C4CEA8
accent
#D058B0
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7860BB

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

Preview Lab → · Contrast checker → · Palette generator →

#7860BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva