#7864FB#7864FB

#7864FB is a mid, highly saturated blue. Relative luminance 0.201; OKLCH L 60.5% C 0.216 H 283.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7864FB
RGBrgb(120, 100, 251)
HSLhsl(248, 95%, 69%)
HSVhsv(248, 60%, 98%)
CMYKcmyk(52.2%, 60.2%, 0%, 1.6%)
CIE-LABlab(51.92, 46.59, -73.04)
CIE-LCHlch(51.92, 86.63, 302.53°)
OKLaboklab(60.49% 0.0519 -0.2094)
OKLCHoklch(60.49% 0.216 283.9)
XYZxyz(29.7102, 20.0708, 93.5566)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7864FB #E7FB64
analogous
#649CFB #7864FB #C464FB
triadic
#7864FB #FB7864 #64FB78
tetradic
#7864FB #FB649C #E7FB64 #64FBC4
square
#7864FB #FB649C #E7FB64 #64FBC4
split-complementary
#7864FB #FBC464 #9CFB64
monochromatic
#2306DF #4428F9 #7864FB #ACA0FD #E0DBFE

Accessibility & contrast

On white

4.19
#7864FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#7864FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7864FB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7864FB#FFFFFF#000000##000000
##7864FB1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#0077F8
Tritanopia (blue-blind)
#4188A6
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7864fb;
/* rgb */ color: rgb(120, 100, 251);
/* oklch */ color: oklch(60.5% 0.216 283.9);
Tailwind
colors: {
  custom: {
    50: '#a991fe',
    500: '#7864fb',
    950: '#000000',
  },
}
SCSS
$custom: #7864fb;
$custom-light: #a991fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7864fb",
  "rgb": {
    "r": 120,
    "g": 100,
    "b": 251
  },
  "hsl": {
    "h": 247.947,
    "s": 94.969,
    "l": 68.824
  },
  "oklch": {
    "l": 0.60493,
    "c": 0.21575,
    "h": 283.9
  },
  "luminance": 0.20072
}

Semantic roles & 50–950 ramp

primary
#7864FB
secondary
#EEF4C7
accent
#E600C7
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7864FB

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

Preview Lab → · Contrast checker → · Palette generator →

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