#7863F4#7863F4

#7863F4 is a mid, highly saturated blue. Relative luminance 0.194; OKLCH L 59.8% C 0.208 H 284.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7863F4
RGBrgb(120, 99, 244)
HSLhsl(249, 87%, 67%)
HSVhsv(249, 59%, 96%)
CMYKcmyk(50.8%, 59.4%, 0%, 4.3%)
CIE-LABlab(51.21, 45.10, -70.30)
CIE-LCHlch(51.21, 83.52, 302.69°)
OKLaboklab(59.82% 0.0532 -0.2014)
OKLCHoklch(59.82% 0.208 284.8)
XYZxyz(28.5318, 19.4469, 87.8206)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7863F4 #DFF463
analogous
#6396F4 #7863F4 #C163F4
triadic
#7863F4 #F47863 #63F478
tetradic
#7863F4 #F46396 #DFF463 #63F4C1
square
#7863F4 #F46396 #DFF463 #63F4C1
split-complementary
#7863F4 #F4C163 #96F463
monochromatic
#2A0FCE #472AF0 #7863F4 #A99CF8 #DBD5FC

Accessibility & contrast

On white

4.29
#7863F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#7863F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7863F4
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7863F4#FFFFFF#000000##000000
##7863F41.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF9
Deuteranopia (green-blind)
#0075F1
Tritanopia (blue-blind)
#4885A2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7863f4;
/* rgb */ color: rgb(120, 99, 244);
/* oklch */ color: oklch(59.8% 0.208 284.8);
Tailwind
colors: {
  custom: {
    50: '#a890f9',
    500: '#7863f4',
    950: '#000000',
  },
}
SCSS
$custom: #7863f4;
$custom-light: #a890f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7863f4",
  "rgb": {
    "r": 120,
    "g": 99,
    "b": 244
  },
  "hsl": {
    "h": 248.69,
    "s": 86.826,
    "l": 67.255
  },
  "oklch": {
    "l": 0.59816,
    "c": 0.20826,
    "h": 284.8
  },
  "luminance": 0.19448
}

Semantic roles & 50–950 ramp

primary
#7863F4
secondary
#EAF0C3
accent
#E302C3
background
#FAF8FF
surface
#F5F0FF
border
#CFCBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7863F4

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

Preview Lab → · Contrast checker → · Palette generator →

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