#7860EB#7860EB

#7860EB is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 58.7% C 0.201 H 286.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7860EB
RGBrgb(120, 96, 235)
HSLhsl(250, 78%, 65%)
HSVhsv(250, 59%, 92%)
CMYKcmyk(48.9%, 59.1%, 0%, 7.8%)
CIE-LABlab(49.92, 44.20, -67.34)
CIE-LCHlch(49.92, 80.55, 303.28°)
OKLaboklab(58.68% 0.0566 -0.1927)
OKLCHoklch(58.68% 0.201 286.4)
XYZxyz(26.9196, 18.3557, 80.7057)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7860EB #D3EB60
analogous
#608DEB #7860EB #BE60EB
triadic
#7860EB #EB7860 #60EB78
tetradic
#7860EB #EB608D #D3EB60 #60EBBE
square
#7860EB #EB608D #D3EB60 #60EBBE
split-complementary
#7860EB #EBBE60 #8DEB60
monochromatic
#3317B9 #4A2AE4 #7860EB #A696F2 #D4CDF9

Accessibility & contrast

On white

4.50
#7860EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#7860EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7860EB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7860EB#FFFFFF#000000##000000
##7860EB1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#4F809C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7860eb;
/* rgb */ color: rgb(120, 96, 235);
/* oklch */ color: oklch(58.7% 0.201 286.4);
Tailwind
colors: {
  custom: {
    50: '#a78ef2',
    500: '#7860eb',
    950: '#000000',
  },
}
SCSS
$custom: #7860eb;
$custom-light: #a78ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#7860eb",
  "rgb": {
    "r": 120,
    "g": 96,
    "b": 235
  },
  "hsl": {
    "h": 250.36,
    "s": 77.654,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58678,
    "c": 0.2008,
    "h": 286.4
  },
  "luminance": 0.18357
}

Semantic roles & 50–950 ramp

primary
#7860EB
secondary
#E3EBBC
accent
#DA0CB6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7860EB

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

Preview Lab → · Contrast checker → · Palette generator →

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