#7860ED#7860ED

#7860ED is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 58.8% C 0.203 H 286.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7860ED
RGBrgb(120, 96, 237)
HSLhsl(250, 80%, 65%)
HSVhsv(250, 59%, 93%)
CMYKcmyk(49.4%, 59.5%, 0%, 7.1%)
CIE-LABlab(50.06, 44.78, -68.23)
CIE-LCHlch(50.06, 81.61, 303.27°)
OKLaboklab(58.82% 0.0565 -0.1953)
OKLCHoklch(58.82% 0.203 286.1)
XYZxyz(27.2101, 18.4719, 82.2360)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7860ED #D5ED60
analogous
#608EED #7860ED #BF60ED
triadic
#7860ED #ED7860 #60ED78
tetradic
#7860ED #ED608E #D5ED60 #60EDBF
square
#7860ED #ED608E #D5ED60 #60EDBF
split-complementary
#7860ED #EDBF60 #8EED60
monochromatic
#3215BD #4929E7 #7860ED #A797F3 #D5CEF9

Accessibility & contrast

On white

4.47
#7860ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7860ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7860ED
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7860ED#FFFFFF#000000##000000
##7860ED1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7860ed;
/* rgb */ color: rgb(120, 96, 237);
/* oklch */ color: oklch(58.8% 0.203 286.1);
Tailwind
colors: {
  custom: {
    50: '#a78ef4',
    500: '#7860ed',
    950: '#000000',
  },
}
SCSS
$custom: #7860ed;
$custom-light: #a78ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#7860ed",
  "rgb": {
    "r": 120,
    "g": 96,
    "b": 237
  },
  "hsl": {
    "h": 250.213,
    "s": 79.661,
    "l": 65.294
  },
  "oklch": {
    "l": 0.58824,
    "c": 0.20331,
    "h": 286.1
  },
  "luminance": 0.18473
}

Semantic roles & 50–950 ramp

primary
#7860ED
secondary
#E4ECBD
accent
#DC0AB8
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7860ED

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

Preview Lab → · Contrast checker → · Palette generator →

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