#7864FE#7864FE

#7864FE is a mid, highly saturated blue. Relative luminance 0.203; OKLCH L 60.7% C 0.219 H 283.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7864FE
RGBrgb(120, 100, 254)
HSLhsl(248, 99%, 69%)
HSVhsv(248, 61%, 100%)
CMYKcmyk(52.8%, 60.6%, 0%, 0.4%)
CIE-LABlab(52.13, 47.47, -74.36)
CIE-LCHlch(52.13, 88.21, 302.55°)
OKLaboklab(60.72% 0.0517 -0.2133)
OKLCHoklch(60.72% 0.219 283.6)
XYZxyz(30.1869, 20.2615, 96.0669)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7864FE #EAFE64
analogous
#649DFE #7864FE #C564FE
triadic
#7864FE #FE7864 #64FE78
tetradic
#7864FE #FE649D #EAFE64 #64FEC5
square
#7864FE #FE649D #EAFE64 #64FEC5
split-complementary
#7864FE #FEC564 #9DFE64
monochromatic
#1F01E6 #4327FE #7864FE #ADA1FE #E2DEFF

Accessibility & contrast

On white

4.16
#7864FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#7864FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7864FE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7864FE#FFFFFF#000000##000000
##7864FE1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#0077FB
Tritanopia (blue-blind)
#3E89A8
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7864fe;
/* rgb */ color: rgb(120, 100, 254);
/* oklch */ color: oklch(60.7% 0.219 283.6);
Tailwind
colors: {
  custom: {
    50: '#a991ff',
    500: '#7864fe',
    950: '#000000',
  },
}
SCSS
$custom: #7864fe;
$custom-light: #a991ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7864fe",
  "rgb": {
    "r": 120,
    "g": 100,
    "b": 254
  },
  "hsl": {
    "h": 247.792,
    "s": 98.718,
    "l": 69.412
  },
  "oklch": {
    "l": 0.60717,
    "c": 0.21946,
    "h": 283.6
  },
  "luminance": 0.20263
}

Semantic roles & 50–950 ramp

primary
#7864FE
secondary
#EFF5C9
accent
#E600C8
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7864FE

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

Preview Lab → · Contrast checker → · Palette generator →

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