#7863FA#7863FA

#7863FA is a mid, highly saturated blue. Relative luminance 0.198; OKLCH L 60.3% C 0.216 H 284.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7863FA
RGBrgb(120, 99, 250)
HSLhsl(248, 94%, 68%)
HSVhsv(248, 60%, 98%)
CMYKcmyk(52%, 60.4%, 0%, 2%)
CIE-LABlab(51.63, 46.86, -72.95)
CIE-LCHlch(51.63, 86.70, 302.71°)
OKLaboklab(60.26% 0.0529 -0.2092)
OKLCHoklch(60.26% 0.216 284.2)
XYZxyz(29.4577, 19.8173, 92.6969)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7863FA #E5FA63
analogous
#6399FA #7863FA #C363FA
triadic
#7863FA #FA7863 #63FA78
tetradic
#7863FA #FA6399 #E5FA63 #63FAC3
square
#7863FA #FA6399 #E5FA63 #63FAC3
split-complementary
#7863FA #FAC363 #99FA63
monochromatic
#2507DC #4528F8 #7863FA #AB9EFC #DFDAFE

Accessibility & contrast

On white

4.23
#7863FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#7863FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7863FA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7863FA#FFFFFF#000000##000000
##7863FA1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#0076F7
Tritanopia (blue-blind)
#4387A5
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7863fa;
/* rgb */ color: rgb(120, 99, 250);
/* oklch */ color: oklch(60.3% 0.216 284.2);
Tailwind
colors: {
  custom: {
    50: '#a990fd',
    500: '#7863fa',
    950: '#000000',
  },
}
SCSS
$custom: #7863fa;
$custom-light: #a990fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7863fa",
  "rgb": {
    "r": 120,
    "g": 99,
    "b": 250
  },
  "hsl": {
    "h": 248.344,
    "s": 93.789,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6026,
    "c": 0.21574,
    "h": 284.2
  },
  "luminance": 0.19819
}

Semantic roles & 50–950 ramp

primary
#7863FA
secondary
#EDF3C6
accent
#E600C6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110D18
muted
#807D86

Preview Lab

Preview with #7863FA

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

Preview Lab → · Contrast checker → · Palette generator →

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