#7862EE#7862EE

#7862EE is a mid, highly saturated blue. Relative luminance 0.189; OKLCH L 59.2% C 0.202 H 285.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7862EE
RGBrgb(120, 98, 238)
HSLhsl(249, 80%, 66%)
HSVhsv(249, 59%, 93%)
CMYKcmyk(49.6%, 58.8%, 0%, 6.7%)
CIE-LABlab(50.57, 43.93, -67.97)
CIE-LCHlch(50.57, 80.93, 302.87°)
OKLaboklab(59.22% 0.0544 -0.1945)
OKLCHoklch(59.22% 0.202 285.6)
XYZxyz(27.5415, 18.9001, 83.0692)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7862EE #D8EE62
analogous
#6292EE #7862EE #BE62EE
triadic
#7862EE #EE7862 #62EE78
tetradic
#7862EE #EE6292 #D8EE62 #62EEBE
square
#7862EE #EE6292 #D8EE62 #62EEBE
split-complementary
#7862EE #EEBE62 #92EE62
monochromatic
#3015C1 #492BE8 #7862EE #A799F4 #D7D0FA

Accessibility & contrast

On white

4.39
#7862EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#7862EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7862EE
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7862EE#FFFFFF#000000##000000
##7862EE1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF3
Deuteranopia (green-blind)
#0074EB
Tritanopia (blue-blind)
#4D839F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7862ee;
/* rgb */ color: rgb(120, 98, 238);
/* oklch */ color: oklch(59.2% 0.202 285.6);
Tailwind
colors: {
  custom: {
    50: '#a78ff4',
    500: '#7862ee',
    950: '#000000',
  },
}
SCSS
$custom: #7862ee;
$custom-light: #a78ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#7862ee",
  "rgb": {
    "r": 120,
    "g": 98,
    "b": 238
  },
  "hsl": {
    "h": 249.429,
    "s": 80.46,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59218,
    "c": 0.202,
    "h": 285.6
  },
  "luminance": 0.18901
}

Semantic roles & 50–950 ramp

primary
#7862EE
secondary
#E6EDBF
accent
#DD09BB
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7862EE

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

Preview Lab → · Contrast checker → · Palette generator →

#7862EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva