#7863FE#7863FE

#7863FE is a mid, highly saturated blue. Relative luminance 0.201; OKLCH L 60.6% C 0.221 H 283.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7863FE
RGBrgb(120, 99, 254)
HSLhsl(248, 99%, 69%)
HSVhsv(248, 61%, 100%)
CMYKcmyk(52.8%, 61%, 0%, 0.4%)
CIE-LABlab(51.92, 48.03, -74.70)
CIE-LCHlch(51.92, 88.81, 302.74°)
OKLaboklab(60.56% 0.0526 -0.2143)
OKLCHoklch(60.56% 0.221 283.8)
XYZxyz(30.0915, 20.0708, 96.0351)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7863FE #E9FE63
analogous
#639CFE #7863FE #C663FE
triadic
#7863FE #FE7863 #63FE78
tetradic
#7863FE #FE639C #E9FE63 #63FEC6
square
#7863FE #FE639C #E9FE63 #63FEC6
split-complementary
#7863FE #FEC663 #9CFE63
monochromatic
#2001E5 #4326FE #7863FE #ADA0FE #E1DDFF

Accessibility & contrast

On white

4.19
#7863FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#7863FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7863FE
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7863FE#FFFFFF#000000##000000
##7863FE1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#0077FB
Tritanopia (blue-blind)
#3F88A7
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7863fe;
/* rgb */ color: rgb(120, 99, 254);
/* oklch */ color: oklch(60.6% 0.221 283.8);
Tailwind
colors: {
  custom: {
    50: '#a990ff',
    500: '#7863fe',
    950: '#000000',
  },
}
SCSS
$custom: #7863fe;
$custom-light: #a990ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7863fe",
  "rgb": {
    "r": 120,
    "g": 99,
    "b": 254
  },
  "hsl": {
    "h": 248.129,
    "s": 98.726,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6056,
    "c": 0.22069,
    "h": 283.8
  },
  "luminance": 0.20073
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7863FE

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

Preview Lab → · Contrast checker → · Palette generator →

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