#7863F8#7863F8

#7863F8 is a mid, highly saturated blue. Relative luminance 0.197; OKLCH L 60.1% C 0.213 H 284.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7863F8
RGBrgb(120, 99, 248)
HSLhsl(248, 91%, 68%)
HSVhsv(248, 60%, 97%)
CMYKcmyk(51.6%, 60.1%, 0%, 2.7%)
CIE-LABlab(51.49, 46.27, -72.07)
CIE-LCHlch(51.49, 85.65, 302.70°)
OKLaboklab(60.11% 0.053 -0.2066)
OKLCHoklch(60.11% 0.213 284.4)
XYZxyz(29.1457, 19.6925, 91.0540)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7863F8 #E3F863
analogous
#6399F8 #7863F8 #C263F8
triadic
#7863F8 #F87863 #63F878
tetradic
#7863F8 #F86399 #E3F863 #63F8C2
square
#7863F8 #F86399 #E3F863 #63F8C2
split-complementary
#7863F8 #F8C263 #99F863
monochromatic
#270AD7 #4528F5 #7863F8 #AB9EFB #DDD8FD

Accessibility & contrast

On white

4.25
#7863F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#7863F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7863F8
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7863F8#FFFFFF#000000##000000
##7863F81.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFD
Deuteranopia (green-blind)
#0076F5
Tritanopia (blue-blind)
#4486A4
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7863f8;
/* rgb */ color: rgb(120, 99, 248);
/* oklch */ color: oklch(60.1% 0.213 284.4);
Tailwind
colors: {
  custom: {
    50: '#a890fb',
    500: '#7863f8',
    950: '#000000',
  },
}
SCSS
$custom: #7863f8;
$custom-light: #a890fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7863f8",
  "rgb": {
    "r": 120,
    "g": 99,
    "b": 248
  },
  "hsl": {
    "h": 248.456,
    "s": 91.411,
    "l": 68.039
  },
  "oklch": {
    "l": 0.60111,
    "c": 0.21326,
    "h": 284.4
  },
  "luminance": 0.19694
}

Semantic roles & 50–950 ramp

primary
#7863F8
secondary
#ECF2C5
accent
#E600C5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110D18
muted
#807D86

Preview Lab

Preview with #7863F8

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

Preview Lab → · Contrast checker → · Palette generator →

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