#7863EA#7863EA

#7863EA is a mid, vivid blue. Relative luminance 0.189; OKLCH L 59.1% C 0.196 H 285.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7863EA
RGBrgb(120, 99, 234)
HSLhsl(249, 76%, 65%)
HSVhsv(249, 58%, 92%)
CMYKcmyk(48.7%, 57.7%, 0%, 8.2%)
CIE-LABlab(50.52, 42.19, -65.81)
CIE-LCHlch(50.52, 78.17, 302.66°)
OKLaboklab(59.09% 0.0535 -0.1882)
OKLCHoklch(59.09% 0.196 285.9)
XYZxyz(27.0545, 18.8560, 80.0400)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7863EA #D5EA63
analogous
#6392EA #7863EA #BB63EA
triadic
#7863EA #EA7863 #63EA78
tetradic
#7863EA #EA6392 #D5EA63 #63EABB
square
#7863EA #EA6392 #D5EA63 #63EABB
split-complementary
#7863EA #EABB63 #92EA63
monochromatic
#3219BA #492DE3 #7863EA #A799F1 #D5CFF9

Accessibility & contrast

On white

4.40
#7863EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#7863EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7863EA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7863EA#FFFFFF#000000##000000
##7863EA1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEE
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#4F829D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7863ea;
/* rgb */ color: rgb(120, 99, 234);
/* oklch */ color: oklch(59.1% 0.196 285.9);
Tailwind
colors: {
  custom: {
    50: '#a790f2',
    500: '#7863ea',
    950: '#000000',
  },
}
SCSS
$custom: #7863ea;
$custom-light: #a790f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7863ea",
  "rgb": {
    "r": 120,
    "g": 99,
    "b": 234
  },
  "hsl": {
    "h": 249.333,
    "s": 76.271,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59093,
    "c": 0.19563,
    "h": 285.9
  },
  "luminance": 0.18857
}

Semantic roles & 50–950 ramp

primary
#7863EA
secondary
#E4EBBE
accent
#D80DB9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7863EA

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

Preview Lab → · Contrast checker → · Palette generator →

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