#7860EF#7860EF

#7860EF is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.0% C 0.206 H 285.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7860EF
RGBrgb(120, 96, 239)
HSLhsl(250, 82%, 66%)
HSVhsv(250, 60%, 94%)
CMYKcmyk(49.8%, 59.8%, 0%, 6.3%)
CIE-LABlab(50.20, 45.36, -69.13)
CIE-LCHlch(50.20, 82.68, 303.27°)
OKLaboklab(58.97% 0.0564 -0.1979)
OKLCHoklch(58.97% 0.206 285.9)
XYZxyz(27.5040, 18.5895, 83.7835)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7860EF #D7EF60
analogous
#608FEF #7860EF #BF60EF
triadic
#7860EF #EF7860 #60EF78
tetradic
#7860EF #EF608F #D7EF60 #60EFBF
square
#7860EF #EF608F #D7EF60 #60EFBF
split-complementary
#7860EF #EFBF60 #8FEF60
monochromatic
#3113C1 #4928E9 #7860EF #A798F5 #D6CFFA

Accessibility & contrast

On white

4.45
#7860EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7860EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7860EF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7860EF#FFFFFF#000000##000000
##7860EF1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#0073EC
Tritanopia (blue-blind)
#4C829E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7860ef;
/* rgb */ color: rgb(120, 96, 239);
/* oklch */ color: oklch(59.0% 0.206 285.9);
Tailwind
colors: {
  custom: {
    50: '#a88ef5',
    500: '#7860ef',
    950: '#000000',
  },
}
SCSS
$custom: #7860ef;
$custom-light: #a88ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#7860ef",
  "rgb": {
    "r": 120,
    "g": 96,
    "b": 239
  },
  "hsl": {
    "h": 250.07,
    "s": 81.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58971,
    "c": 0.20582,
    "h": 285.9
  },
  "luminance": 0.18591
}

Semantic roles & 50–950 ramp

primary
#7860EF
secondary
#E5EDBE
accent
#DE07BA
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7860EF

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

Preview Lab → · Contrast checker → · Palette generator →

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