#7864F7#7864F7

#7864F7 is a mid, highly saturated blue. Relative luminance 0.198; OKLCH L 60.2% C 0.211 H 284.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7864F7
RGBrgb(120, 100, 247)
HSLhsl(248, 90%, 68%)
HSVhsv(248, 60%, 97%)
CMYKcmyk(51.4%, 59.5%, 0%, 3.1%)
CIE-LABlab(51.63, 45.41, -71.27)
CIE-LCHlch(51.63, 84.51, 302.50°)
OKLaboklab(60.2% 0.0521 -0.2042)
OKLCHoklch(60.2% 0.211 284.3)
XYZxyz(29.0863, 19.8212, 90.2709)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7864F7 #E3F764
analogous
#6499F7 #7864F7 #C164F7
triadic
#7864F7 #F77864 #64F778
tetradic
#7864F7 #F76499 #E3F764 #64F7C1
square
#7864F7 #F76499 #E3F764 #64F7C1
split-complementary
#7864F7 #F7C164 #99F764
monochromatic
#270BD6 #452AF4 #7864F7 #AB9EFA #DDD8FD

Accessibility & contrast

On white

4.23
#7864F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#7864F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7864F7
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7864F7#FFFFFF#000000##000000
##7864F71.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFC
Deuteranopia (green-blind)
#0076F4
Tritanopia (blue-blind)
#4587A4
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7864f7;
/* rgb */ color: rgb(120, 100, 247);
/* oklch */ color: oklch(60.2% 0.211 284.3);
Tailwind
colors: {
  custom: {
    50: '#a891fb',
    500: '#7864f7',
    950: '#000000',
  },
}
SCSS
$custom: #7864f7;
$custom-light: #a891fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7864f7",
  "rgb": {
    "r": 120,
    "g": 100,
    "b": 247
  },
  "hsl": {
    "h": 248.163,
    "s": 90.184,
    "l": 68.039
  },
  "oklch": {
    "l": 0.60197,
    "c": 0.21076,
    "h": 284.3
  },
  "luminance": 0.19823
}

Semantic roles & 50–950 ramp

primary
#7864F7
secondary
#ECF2C5
accent
#E600C6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110D17
muted
#807D85

Preview Lab

Preview with #7864F7

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

Preview Lab → · Contrast checker → · Palette generator →

#7864F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva