#7863E5#7863E5

#7863E5 is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.7% C 0.189 H 286.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7863E5
RGBrgb(120, 99, 229)
HSLhsl(250, 71%, 64%)
HSVhsv(250, 57%, 90%)
CMYKcmyk(47.6%, 56.8%, 0%, 10.2%)
CIE-LABlab(50.18, 40.74, -63.54)
CIE-LCHlch(50.18, 75.48, 302.66°)
OKLaboklab(58.74% 0.0535 -0.1815)
OKLCHoklch(58.74% 0.189 286.4)
XYZxyz(26.3463, 18.5727, 76.3102)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7863E5 #D0E563
analogous
#638FE5 #7863E5 #B963E5
triadic
#7863E5 #E57863 #63E578
tetradic
#7863E5 #E5638F #D0E563 #63E5B9
square
#7863E5 #E5638F #D0E563 #63E5B9
split-complementary
#7863E5 #E5B963 #8FE563
monochromatic
#351DB0 #4B2FDC #7863E5 #A597EE #D3CCF6

Accessibility & contrast

On white

4.45
#7863E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#7863E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7863E5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7863E5#FFFFFF#000000##000000
##7863E51.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BE9
Deuteranopia (green-blind)
#0074E2
Tritanopia (blue-blind)
#53809A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7863e5;
/* rgb */ color: rgb(120, 99, 229);
/* oklch */ color: oklch(58.7% 0.189 286.4);
Tailwind
colors: {
  custom: {
    50: '#a690ee',
    500: '#7863e5',
    950: '#000000',
  },
}
SCSS
$custom: #7863e5;
$custom-light: #a690ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7863e5",
  "rgb": {
    "r": 120,
    "g": 99,
    "b": 229
  },
  "hsl": {
    "h": 249.692,
    "s": 71.429,
    "l": 64.314
  },
  "oklch": {
    "l": 0.5874,
    "c": 0.18922,
    "h": 286.4
  },
  "luminance": 0.18574
}

Semantic roles & 50–950 ramp

primary
#7863E5
secondary
#E1E8BB
accent
#D312B4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7863E5

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

Preview Lab → · Contrast checker → · Palette generator →

#7863E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva