#7860EC#7860EC

#7860EC is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 58.8% C 0.202 H 286.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7860EC
RGBrgb(120, 96, 236)
HSLhsl(250, 79%, 65%)
HSVhsv(250, 59%, 93%)
CMYKcmyk(49.2%, 59.3%, 0%, 7.5%)
CIE-LABlab(49.99, 44.49, -67.79)
CIE-LCHlch(49.99, 81.08, 303.28°)
OKLaboklab(58.75% 0.0566 -0.194)
OKLCHoklch(58.75% 0.202 286.3)
XYZxyz(27.0645, 18.4137, 81.4687)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7860EC #D4EC60
analogous
#608EEC #7860EC #BE60EC
triadic
#7860EC #EC7860 #60EC78
tetradic
#7860EC #EC608E #D4EC60 #60ECBE
square
#7860EC #EC608E #D4EC60 #60ECBE
split-complementary
#7860EC #ECBE60 #8EEC60
monochromatic
#3316BB #4A29E5 #7860EC #A697F3 #D5CDF9

Accessibility & contrast

On white

4.48
#7860EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#7860EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7860EC
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7860EC#FFFFFF#000000##000000
##7860EC1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#0073E9
Tritanopia (blue-blind)
#4E819D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7860ec;
/* rgb */ color: rgb(120, 96, 236);
/* oklch */ color: oklch(58.8% 0.202 286.3);
Tailwind
colors: {
  custom: {
    50: '#a78ef3',
    500: '#7860ec',
    950: '#000000',
  },
}
SCSS
$custom: #7860ec;
$custom-light: #a78ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#7860ec",
  "rgb": {
    "r": 120,
    "g": 96,
    "b": 236
  },
  "hsl": {
    "h": 250.286,
    "s": 78.652,
    "l": 65.098
  },
  "oklch": {
    "l": 0.58751,
    "c": 0.20207,
    "h": 286.3
  },
  "luminance": 0.18415
}

Semantic roles & 50–950 ramp

primary
#7860EC
secondary
#E3ECBC
accent
#DB0BB7
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7860EC

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

Preview Lab → · Contrast checker → · Palette generator →

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