#7864E8#7864E8

#7864E8 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 59.1% C 0.192 H 285.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7864E8
RGBrgb(120, 100, 232)
HSLhsl(249, 74%, 65%)
HSVhsv(249, 57%, 91%)
CMYKcmyk(48.3%, 56.9%, 0%, 9%)
CIE-LABlab(50.61, 41.03, -64.55)
CIE-LCHlch(50.61, 76.48, 302.44°)
OKLaboklab(59.12% 0.0524 -0.1844)
OKLCHoklch(59.12% 0.192 285.9)
XYZxyz(26.8641, 18.9324, 78.5671)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7864E8 #D4E864
analogous
#6492E8 #7864E8 #BA64E8
triadic
#7864E8 #E87864 #64E878
tetradic
#7864E8 #E86492 #D4E864 #64E8BA
square
#7864E8 #E86492 #D4E864 #64E8BA
split-complementary
#7864E8 #E8BA64 #92E864
monochromatic
#331BB7 #4A2FE0 #7864E8 #A699F0 #D5CFF8

Accessibility & contrast

On white

4.39
#7864E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#7864E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7864E8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7864E8#FFFFFF#000000##000000
##7864E81.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEC
Deuteranopia (green-blind)
#0075E5
Tritanopia (blue-blind)
#51829C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7864e8;
/* rgb */ color: rgb(120, 100, 232);
/* oklch */ color: oklch(59.1% 0.192 285.9);
Tailwind
colors: {
  custom: {
    50: '#a691f0',
    500: '#7864e8',
    950: '#000000',
  },
}
SCSS
$custom: #7864e8;
$custom-light: #a691f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7864e8",
  "rgb": {
    "r": 120,
    "g": 100,
    "b": 232
  },
  "hsl": {
    "h": 249.091,
    "s": 74.157,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59116,
    "c": 0.19175,
    "h": 285.9
  },
  "luminance": 0.18934
}

Semantic roles & 50–950 ramp

primary
#7864E8
secondary
#E3EABE
accent
#D60FB8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100D17
muted
#7F7D85

Preview Lab

Preview with #7864E8

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

Preview Lab → · Contrast checker → · Palette generator →

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