#7860EA#7860EA

#7860EA is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.6% C 0.200 H 286.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7860EA
RGBrgb(120, 96, 234)
HSLhsl(250, 77%, 65%)
HSVhsv(250, 59%, 92%)
CMYKcmyk(48.7%, 59%, 0%, 8.2%)
CIE-LABlab(49.86, 43.91, -66.89)
CIE-LCHlch(49.86, 80.01, 303.28°)
OKLaboklab(58.61% 0.0566 -0.1913)
OKLCHoklch(58.61% 0.2 286.5)
XYZxyz(26.7755, 18.2981, 79.9470)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7860EA #D2EA60
analogous
#608DEA #7860EA #BD60EA
triadic
#7860EA #EA7860 #60EA78
tetradic
#7860EA #EA608D #D2EA60 #60EABD
square
#7860EA #EA608D #D2EA60 #60EABD
split-complementary
#7860EA #EABD60 #8DEA60
monochromatic
#3418B7 #4A2AE3 #7860EA #A696F1 #D4CCF8

Accessibility & contrast

On white

4.51
#7860EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#7860EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7860EA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7860EA#FFFFFF#000000##000000
##7860EA1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEF
Deuteranopia (green-blind)
#0073E7
Tritanopia (blue-blind)
#50809C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7860ea;
/* rgb */ color: rgb(120, 96, 234);
/* oklch */ color: oklch(58.6% 0.200 286.5);
Tailwind
colors: {
  custom: {
    50: '#a78ef2',
    500: '#7860ea',
    950: '#000000',
  },
}
SCSS
$custom: #7860ea;
$custom-light: #a78ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#7860ea",
  "rgb": {
    "r": 120,
    "g": 96,
    "b": 234
  },
  "hsl": {
    "h": 250.435,
    "s": 76.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58606,
    "c": 0.19954,
    "h": 286.5
  },
  "luminance": 0.18299
}

Semantic roles & 50–950 ramp

primary
#7860EA
secondary
#E2EBBB
accent
#D90DB5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7860EA

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

Preview Lab → · Contrast checker → · Palette generator →

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