#7864FA#7864FA

#7864FA is a mid, highly saturated blue. Relative luminance 0.200; OKLCH L 60.4% C 0.215 H 284.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7864FA
RGBrgb(120, 100, 250)
HSLhsl(248, 94%, 69%)
HSVhsv(248, 60%, 98%)
CMYKcmyk(52%, 60%, 0%, 2%)
CIE-LABlab(51.85, 46.29, -72.60)
CIE-LCHlch(51.85, 86.10, 302.52°)
OKLaboklab(60.42% 0.0519 -0.2081)
OKLCHoklch(60.42% 0.215 284)
XYZxyz(29.5530, 20.0079, 92.7286)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7864FA #E6FA64
analogous
#649BFA #7864FA #C364FA
triadic
#7864FA #FA7864 #64FA78
tetradic
#7864FA #FA649B #E6FA64 #64FAC3
square
#7864FA #FA649B #E6FA64 #64FAC3
split-complementary
#7864FA #FAC364 #9BFA64
monochromatic
#2407DC #4429F8 #7864FA #AC9FFC #DFDBFE

Accessibility & contrast

On white

4.20
#7864FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#7864FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7864FA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7864FA#FFFFFF#000000##000000
##7864FA1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7864fa;
/* rgb */ color: rgb(120, 100, 250);
/* oklch */ color: oklch(60.4% 0.215 284.0);
Tailwind
colors: {
  custom: {
    50: '#a991fd',
    500: '#7864fa',
    950: '#000000',
  },
}
SCSS
$custom: #7864fa;
$custom-light: #a991fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7864fa",
  "rgb": {
    "r": 120,
    "g": 100,
    "b": 250
  },
  "hsl": {
    "h": 248,
    "s": 93.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.60418,
    "c": 0.21451,
    "h": 284
  },
  "luminance": 0.2001
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7864FA

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

Preview Lab → · Contrast checker → · Palette generator →

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