#7863F5#7863F5

#7863F5 is a mid, highly saturated blue. Relative luminance 0.195; OKLCH L 59.9% C 0.210 H 284.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7863F5
RGBrgb(120, 99, 245)
HSLhsl(249, 88%, 67%)
HSVhsv(249, 60%, 96%)
CMYKcmyk(51%, 59.6%, 0%, 3.9%)
CIE-LABlab(51.28, 45.40, -70.74)
CIE-LCHlch(51.28, 84.06, 302.69°)
OKLaboklab(59.89% 0.0531 -0.2027)
OKLCHoklch(59.89% 0.21 284.7)
XYZxyz(28.6841, 19.5078, 88.6225)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7863F5 #E0F563
analogous
#6397F5 #7863F5 #C163F5
triadic
#7863F5 #F57863 #63F578
tetradic
#7863F5 #F56397 #E0F563 #63F5C1
square
#7863F5 #F56397 #E0F563 #63F5C1
split-complementary
#7863F5 #F5C163 #97F563
monochromatic
#290DD0 #4629F1 #7863F5 #AA9DF9 #DCD6FC

Accessibility & contrast

On white

4.28
#7863F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#7863F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7863F5
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7863F5#FFFFFF#000000##000000
##7863F51.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFA
Deuteranopia (green-blind)
#0076F2
Tritanopia (blue-blind)
#4785A3
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7863f5;
/* rgb */ color: rgb(120, 99, 245);
/* oklch */ color: oklch(59.9% 0.210 284.7);
Tailwind
colors: {
  custom: {
    50: '#a890f9',
    500: '#7863f5',
    950: '#000000',
  },
}
SCSS
$custom: #7863f5;
$custom-light: #a890f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7863f5",
  "rgb": {
    "r": 120,
    "g": 99,
    "b": 245
  },
  "hsl": {
    "h": 248.63,
    "s": 87.952,
    "l": 67.451
  },
  "oklch": {
    "l": 0.5989,
    "c": 0.20952,
    "h": 284.7
  },
  "luminance": 0.19509
}

Semantic roles & 50–950 ramp

primary
#7863F5
secondary
#EAF1C3
accent
#E501C4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7863F5

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

Preview Lab → · Contrast checker → · Palette generator →

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