#7863F6#7863F6

#7863F6 is a mid, highly saturated blue. Relative luminance 0.196; OKLCH L 60.0% C 0.211 H 284.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7863F6
RGBrgb(120, 99, 246)
HSLhsl(249, 89%, 68%)
HSVhsv(249, 60%, 96%)
CMYKcmyk(51.2%, 59.8%, 0%, 3.5%)
CIE-LABlab(51.35, 45.69, -71.18)
CIE-LCHlch(51.35, 84.59, 302.69°)
OKLaboklab(59.96% 0.0531 -0.204)
OKLCHoklch(59.96% 0.211 284.6)
XYZxyz(28.8371, 19.5690, 89.4286)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7863F6 #E1F663
analogous
#6398F6 #7863F6 #C163F6
triadic
#7863F6 #F67863 #63F678
tetradic
#7863F6 #F66398 #E1F663 #63F6C1
square
#7863F6 #F66398 #E1F663 #63F6C1
split-complementary
#7863F6 #F6C163 #98F663
monochromatic
#280CD2 #4629F3 #7863F6 #AA9DF9 #DCD7FD

Accessibility & contrast

On white

4.27
#7863F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#7863F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7863F6
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7863F6#FFFFFF#000000##000000
##7863F61.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFB
Deuteranopia (green-blind)
#0076F3
Tritanopia (blue-blind)
#4686A3
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7863f6;
/* rgb */ color: rgb(120, 99, 246);
/* oklch */ color: oklch(60.0% 0.211 284.6);
Tailwind
colors: {
  custom: {
    50: '#a890fa',
    500: '#7863f6',
    950: '#000000',
  },
}
SCSS
$custom: #7863f6;
$custom-light: #a890fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7863f6",
  "rgb": {
    "r": 120,
    "g": 99,
    "b": 246
  },
  "hsl": {
    "h": 248.571,
    "s": 89.091,
    "l": 67.647
  },
  "oklch": {
    "l": 0.59963,
    "c": 0.21077,
    "h": 284.6
  },
  "luminance": 0.19571
}

Semantic roles & 50–950 ramp

primary
#7863F6
secondary
#EBF1C4
accent
#E600C5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7863F6

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

Preview Lab → · Contrast checker → · Palette generator →

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