#7863F2#7863F2

#7863F2 is a mid, highly saturated blue. Relative luminance 0.193; OKLCH L 59.7% C 0.206 H 285.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7863F2
RGBrgb(120, 99, 242)
HSLhsl(249, 85%, 67%)
HSVhsv(249, 59%, 95%)
CMYKcmyk(50.4%, 59.1%, 0%, 5.1%)
CIE-LABlab(51.07, 44.52, -69.41)
CIE-LCHlch(51.07, 82.46, 302.68°)
OKLaboklab(59.67% 0.0533 -0.1987)
OKLCHoklch(59.67% 0.206 285)
XYZxyz(28.2298, 19.3261, 86.2300)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7863F2 #DDF263
analogous
#6396F2 #7863F2 #BF63F2
triadic
#7863F2 #F27863 #63F278
tetradic
#7863F2 #F26396 #DDF263 #63F2BF
square
#7863F2 #F26396 #DDF263 #63F2BF
split-complementary
#7863F2 #F2BF63 #96F263
monochromatic
#2C11CA #472BED #7863F2 #A99BF7 #DAD4FB

Accessibility & contrast

On white

4.32
#7863F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#7863F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7863F2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7863F2#FFFFFF#000000##000000
##7863F21.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#0075EF
Tritanopia (blue-blind)
#4984A1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7863f2;
/* rgb */ color: rgb(120, 99, 242);
/* oklch */ color: oklch(59.7% 0.206 285.0);
Tailwind
colors: {
  custom: {
    50: '#a890f7',
    500: '#7863f2',
    950: '#000000',
  },
}
SCSS
$custom: #7863f2;
$custom-light: #a890f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7863f2",
  "rgb": {
    "r": 120,
    "g": 99,
    "b": 242
  },
  "hsl": {
    "h": 248.811,
    "s": 84.615,
    "l": 66.863
  },
  "oklch": {
    "l": 0.5967,
    "c": 0.20575,
    "h": 285
  },
  "luminance": 0.19328
}

Semantic roles & 50–950 ramp

primary
#7863F2
secondary
#E9EFC2
accent
#E104C1
background
#FAF8FF
surface
#F5F0FF
border
#CFCBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7863F2

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

Preview Lab → · Contrast checker → · Palette generator →

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