#7861EE#7861EE

#7861EE is a mid, highly saturated blue. Relative luminance 0.187; OKLCH L 59.1% C 0.203 H 285.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7861EE
RGBrgb(120, 97, 238)
HSLhsl(250, 81%, 66%)
HSVhsv(250, 59%, 93%)
CMYKcmyk(49.6%, 59.2%, 0%, 6.7%)
CIE-LABlab(50.35, 44.50, -68.33)
CIE-LCHlch(50.35, 81.54, 303.07°)
OKLaboklab(59.06% 0.0555 -0.1956)
OKLCHoklch(59.06% 0.203 285.8)
XYZxyz(27.4485, 18.7142, 83.0382)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7861EE #D7EE61
analogous
#6190EE #7861EE #BE61EE
triadic
#7861EE #EE7861 #61EE78
tetradic
#7861EE #EE6190 #D7EE61 #61EEBE
square
#7861EE #EE6190 #D7EE61 #61EEBE
split-complementary
#7861EE #EEBE61 #90EE61
monochromatic
#3115C0 #492AE8 #7861EE #A798F4 #D6D0FA

Accessibility & contrast

On white

4.43
#7861EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#7861EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7861EE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7861EE#FFFFFF#000000##000000
##7861EE1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7861ee;
/* rgb */ color: rgb(120, 97, 238);
/* oklch */ color: oklch(59.1% 0.203 285.8);
Tailwind
colors: {
  custom: {
    50: '#a78ff4',
    500: '#7861ee',
    950: '#000000',
  },
}
SCSS
$custom: #7861ee;
$custom-light: #a78ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#7861ee",
  "rgb": {
    "r": 120,
    "g": 97,
    "b": 238
  },
  "hsl": {
    "h": 249.787,
    "s": 80.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59057,
    "c": 0.20329,
    "h": 285.8
  },
  "luminance": 0.18716
}

Semantic roles & 50–950 ramp

primary
#7861EE
secondary
#E5EDBE
accent
#DD09BA
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7861EE

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

Preview Lab → · Contrast checker → · Palette generator →

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