#7864F9#7864F9

#7864F9 is a mid, highly saturated blue. Relative luminance 0.199; OKLCH L 60.3% C 0.213 H 284.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7864F9
RGBrgb(120, 100, 249)
HSLhsl(248, 93%, 68%)
HSVhsv(248, 60%, 98%)
CMYKcmyk(51.8%, 59.8%, 0%, 2.4%)
CIE-LABlab(51.78, 46.00, -72.16)
CIE-LCHlch(51.78, 85.57, 302.52°)
OKLaboklab(60.34% 0.052 -0.2068)
OKLCHoklch(60.34% 0.213 284.1)
XYZxyz(29.3966, 19.9454, 91.9050)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7864F9 #E5F964
analogous
#649AF9 #7864F9 #C364F9
triadic
#7864F9 #F97864 #64F978
tetradic
#7864F9 #F9649A #E5F964 #64F9C3
square
#7864F9 #F9649A #E5F964 #64F9C3
split-complementary
#7864F9 #F9C364 #9AF964
monochromatic
#2508DA #4529F7 #7864F9 #AB9FFB #DFDAFE

Accessibility & contrast

On white

4.21
#7864F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#7864F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7864F9
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7864F9#FFFFFF#000000##000000
##7864F91.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FE
Deuteranopia (green-blind)
#0077F6
Tritanopia (blue-blind)
#4387A5
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7864f9;
/* rgb */ color: rgb(120, 100, 249);
/* oklch */ color: oklch(60.3% 0.213 284.1);
Tailwind
colors: {
  custom: {
    50: '#a991fc',
    500: '#7864f9',
    950: '#000000',
  },
}
SCSS
$custom: #7864f9;
$custom-light: #a991fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7864f9",
  "rgb": {
    "r": 120,
    "g": 100,
    "b": 249
  },
  "hsl": {
    "h": 248.054,
    "s": 92.547,
    "l": 68.431
  },
  "oklch": {
    "l": 0.60344,
    "c": 0.21326,
    "h": 284.1
  },
  "luminance": 0.19947
}

Semantic roles & 50–950 ramp

primary
#7864F9
secondary
#EDF3C6
accent
#E600C7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110D18
muted
#807D86

Preview Lab

Preview with #7864F9

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

Preview Lab → · Contrast checker → · Palette generator →

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