#7864FC#7864FC

#7864FC is a mid, highly saturated blue. Relative luminance 0.201; OKLCH L 60.6% C 0.217 H 283.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7864FC
RGBrgb(120, 100, 252)
HSLhsl(248, 96%, 69%)
HSVhsv(248, 60%, 99%)
CMYKcmyk(52.4%, 60.3%, 0%, 1.2%)
CIE-LABlab(51.99, 46.88, -73.48)
CIE-LCHlch(51.99, 87.16, 302.54°)
OKLaboklab(60.57% 0.0518 -0.2107)
OKLCHoklch(60.57% 0.217 283.8)
XYZxyz(29.8683, 20.1340, 94.3890)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7864FC #E8FC64
analogous
#649CFC #7864FC #C464FC
triadic
#7864FC #FC7864 #64FC78
tetradic
#7864FC #FC649C #E8FC64 #64FCC4
square
#7864FC #FC649C #E8FC64 #64FCC4
split-complementary
#7864FC #FCC464 #9CFC64
monochromatic
#2104E1 #4428FB #7864FC #ACA0FD #E1DCFE

Accessibility & contrast

On white

4.18
#7864FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#7864FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7864FC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7864FC#FFFFFF#000000##000000
##7864FC1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#0077F9
Tritanopia (blue-blind)
#4088A7
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7864fc;
/* rgb */ color: rgb(120, 100, 252);
/* oklch */ color: oklch(60.6% 0.217 283.8);
Tailwind
colors: {
  custom: {
    50: '#a991fe',
    500: '#7864fc',
    950: '#000000',
  },
}
SCSS
$custom: #7864fc;
$custom-light: #a991fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7864fc",
  "rgb": {
    "r": 120,
    "g": 100,
    "b": 252
  },
  "hsl": {
    "h": 247.895,
    "s": 96.203,
    "l": 69.02
  },
  "oklch": {
    "l": 0.60567,
    "c": 0.21699,
    "h": 283.8
  },
  "luminance": 0.20136
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7864FC

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

Preview Lab → · Contrast checker → · Palette generator →

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