#7863EF#7863EF

#7863EF is a mid, highly saturated blue. Relative luminance 0.191; OKLCH L 59.5% C 0.202 H 285.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7863EF
RGBrgb(120, 99, 239)
HSLhsl(249, 81%, 66%)
HSVhsv(249, 59%, 94%)
CMYKcmyk(49.8%, 58.6%, 0%, 6.3%)
CIE-LABlab(50.86, 43.64, -68.07)
CIE-LCHlch(50.86, 80.86, 302.67°)
OKLaboklab(59.45% 0.0534 -0.1948)
OKLCHoklch(59.45% 0.202 285.3)
XYZxyz(27.7829, 19.1474, 83.8765)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7863EF #DAEF63
analogous
#6394EF #7863EF #BE63EF
triadic
#7863EF #EF7863 #63EF78
tetradic
#7863EF #EF6394 #DAEF63 #63EFBE
square
#7863EF #EF6394 #DAEF63 #63EFBE
split-complementary
#7863EF #EFBE63 #94EF63
monochromatic
#2E14C4 #482BE9 #7863EF #A89BF5 #D8D2FA

Accessibility & contrast

On white

4.35
#7863EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#7863EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7863EF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7863EF#FFFFFF#000000##000000
##7863EF1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#0075EC
Tritanopia (blue-blind)
#4C83A0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7863ef;
/* rgb */ color: rgb(120, 99, 239);
/* oklch */ color: oklch(59.5% 0.202 285.3);
Tailwind
colors: {
  custom: {
    50: '#a790f5',
    500: '#7863ef',
    950: '#000000',
  },
}
SCSS
$custom: #7863ef;
$custom-light: #a790f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7863ef",
  "rgb": {
    "r": 120,
    "g": 99,
    "b": 239
  },
  "hsl": {
    "h": 249,
    "s": 81.395,
    "l": 66.275
  },
  "oklch": {
    "l": 0.59452,
    "c": 0.20197,
    "h": 285.3
  },
  "luminance": 0.19149
}

Semantic roles & 50–950 ramp

primary
#7863EF
secondary
#E7EEC0
accent
#DE08BE
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7863EF

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

Preview Lab → · Contrast checker → · Palette generator →

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