#7860E8#7860E8

#7860E8 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.5% C 0.197 H 286.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7860E8
RGBrgb(120, 96, 232)
HSLhsl(251, 75%, 64%)
HSVhsv(251, 59%, 91%)
CMYKcmyk(48.3%, 58.6%, 0%, 9%)
CIE-LABlab(49.72, 43.33, -65.98)
CIE-LCHlch(49.72, 78.94, 303.29°)
OKLaboklab(58.46% 0.0567 -0.1887)
OKLCHoklch(58.46% 0.197 286.7)
XYZxyz(26.4898, 18.1838, 78.4423)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7860E8 #D0E860
analogous
#608CE8 #7860E8 #BC60E8
triadic
#7860E8 #E87860 #60E878
tetradic
#7860E8 #E8608C #D0E860 #60E8BC
square
#7860E8 #E8608C #D0E860 #60E8BC
split-complementary
#7860E8 #E8BC60 #8CE860
monochromatic
#351AB4 #4B2BE0 #7860E8 #A595F0 #D3CBF7

Accessibility & contrast

On white

4.53
#7860E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7860E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7860E8
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7860E8#FFFFFF#000000##000000
##7860E81.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#0072E5
Tritanopia (blue-blind)
#517F9B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7860e8;
/* rgb */ color: rgb(120, 96, 232);
/* oklch */ color: oklch(58.5% 0.197 286.7);
Tailwind
colors: {
  custom: {
    50: '#a78ef0',
    500: '#7860e8',
    950: '#000000',
  },
}
SCSS
$custom: #7860e8;
$custom-light: #a78ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#7860e8",
  "rgb": {
    "r": 120,
    "g": 96,
    "b": 232
  },
  "hsl": {
    "h": 250.588,
    "s": 74.725,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58461,
    "c": 0.19702,
    "h": 286.7
  },
  "luminance": 0.18185
}

Semantic roles & 50–950 ramp

primary
#7860E8
secondary
#E1E9BA
accent
#D70FB4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7860E8

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

Preview Lab → · Contrast checker → · Palette generator →

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