#7861EF#7861EF

#7861EF is a mid, highly saturated blue. Relative luminance 0.188; OKLCH L 59.1% C 0.205 H 285.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7861EF
RGBrgb(120, 97, 239)
HSLhsl(250, 82%, 66%)
HSVhsv(250, 59%, 94%)
CMYKcmyk(49.8%, 59.4%, 0%, 6.3%)
CIE-LABlab(50.42, 44.79, -68.78)
CIE-LCHlch(50.42, 82.07, 303.07°)
OKLaboklab(59.13% 0.0554 -0.1969)
OKLCHoklch(59.13% 0.205 285.7)
XYZxyz(27.5958, 18.7731, 83.8141)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7861EF #D8EF61
analogous
#6191EF #7861EF #BF61EF
triadic
#7861EF #EF7861 #61EF78
tetradic
#7861EF #EF6191 #D8EF61 #61EFBF
square
#7861EF #EF6191 #D8EF61 #61EFBF
split-complementary
#7861EF #EFBF61 #91EF61
monochromatic
#3014C2 #4929E9 #7861EF #A799F5 #D7D0FA

Accessibility & contrast

On white

4.42
#7861EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#7861EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7861EF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7861EF#FFFFFF#000000##000000
##7861EF1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#4C829F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7861ef;
/* rgb */ color: rgb(120, 97, 239);
/* oklch */ color: oklch(59.1% 0.205 285.7);
Tailwind
colors: {
  custom: {
    50: '#a78ff5',
    500: '#7861ef',
    950: '#000000',
  },
}
SCSS
$custom: #7861ef;
$custom-light: #a78ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#7861ef",
  "rgb": {
    "r": 120,
    "g": 97,
    "b": 239
  },
  "hsl": {
    "h": 249.718,
    "s": 81.609,
    "l": 65.882
  },
  "oklch": {
    "l": 0.5913,
    "c": 0.20455,
    "h": 285.7
  },
  "luminance": 0.18774
}

Semantic roles & 50–950 ramp

primary
#7861EF
secondary
#E6EDBE
accent
#DE08BB
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7861EF

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

Preview Lab → · Contrast checker → · Palette generator →

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