#7864FD#7864FD

#7864FD is a mid, highly saturated blue. Relative luminance 0.202; OKLCH L 60.6% C 0.218 H 283.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7864FD
RGBrgb(120, 100, 253)
HSLhsl(248, 97%, 69%)
HSVhsv(248, 60%, 99%)
CMYKcmyk(52.6%, 60.5%, 0%, 0.8%)
CIE-LABlab(52.06, 47.17, -73.92)
CIE-LCHlch(52.06, 87.69, 302.55°)
OKLaboklab(60.64% 0.0518 -0.212)
OKLCHoklch(60.64% 0.218 283.7)
XYZxyz(30.0271, 20.1976, 95.2258)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7864FD #E9FD64
analogous
#649DFD #7864FD #C564FD
triadic
#7864FD #FD7864 #64FD78
tetradic
#7864FD #FD649D #E9FD64 #64FDC5
square
#7864FD #FD649D #E9FD64 #64FDC5
split-complementary
#7864FD #FDC564 #9DFD64
monochromatic
#2003E4 #4328FC #7864FD #ADA0FE #E1DDFF

Accessibility & contrast

On white

4.17
#7864FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#7864FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7864FD
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7864FD#FFFFFF#000000##000000
##7864FD1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7864fd;
/* rgb */ color: rgb(120, 100, 253);
/* oklch */ color: oklch(60.6% 0.218 283.7);
Tailwind
colors: {
  custom: {
    50: '#a991ff',
    500: '#7864fd',
    950: '#000000',
  },
}
SCSS
$custom: #7864fd;
$custom-light: #a991ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7864fd",
  "rgb": {
    "r": 120,
    "g": 100,
    "b": 253
  },
  "hsl": {
    "h": 247.843,
    "s": 97.452,
    "l": 69.216
  },
  "oklch": {
    "l": 0.60642,
    "c": 0.21823,
    "h": 283.7
  },
  "luminance": 0.20199
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7864FD

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

Preview Lab → · Contrast checker → · Palette generator →

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