#7863EB#7863EB

#7863EB is a mid, vivid blue. Relative luminance 0.189; OKLCH L 59.2% C 0.197 H 285.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7863EB
RGBrgb(120, 99, 235)
HSLhsl(249, 77%, 65%)
HSVhsv(249, 58%, 92%)
CMYKcmyk(48.9%, 57.9%, 0%, 7.8%)
CIE-LABlab(50.59, 42.48, -66.27)
CIE-LCHlch(50.59, 78.71, 302.66°)
OKLaboklab(59.16% 0.0535 -0.1895)
OKLCHoklch(59.16% 0.197 285.8)
XYZxyz(27.1985, 18.9136, 80.7987)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7863EB #D6EB63
analogous
#6392EB #7863EB #BC63EB
triadic
#7863EB #EB7863 #63EB78
tetradic
#7863EB #EB6392 #D6EB63 #63EBBC
square
#7863EB #EB6392 #D6EB63 #63EBBC
split-complementary
#7863EB #EBBC63 #92EB63
monochromatic
#3118BC #492DE4 #7863EB #A799F2 #D6CFF9

Accessibility & contrast

On white

4.39
#7863EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#7863EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7863EB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7863EB#FFFFFF#000000##000000
##7863EB1.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)
#007CEF
Deuteranopia (green-blind)
#0074E8
Tritanopia (blue-blind)
#4F829E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7863eb;
/* rgb */ color: rgb(120, 99, 235);
/* oklch */ color: oklch(59.2% 0.197 285.8);
Tailwind
colors: {
  custom: {
    50: '#a790f2',
    500: '#7863eb',
    950: '#000000',
  },
}
SCSS
$custom: #7863eb;
$custom-light: #a790f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7863eb",
  "rgb": {
    "r": 120,
    "g": 99,
    "b": 235
  },
  "hsl": {
    "h": 249.265,
    "s": 77.273,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59164,
    "c": 0.1969,
    "h": 285.8
  },
  "luminance": 0.18915
}

Semantic roles & 50–950 ramp

primary
#7863EB
secondary
#E5ECBE
accent
#DA0CBA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7863EB

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

Preview Lab → · Contrast checker → · Palette generator →

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