#7868EB#7868EB

#7868EB is a mid, vivid blue. Relative luminance 0.199; OKLCH L 60.0% C 0.190 H 284.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7868EB
RGBrgb(120, 104, 235)
HSLhsl(247, 77%, 66%)
HSVhsv(247, 56%, 92%)
CMYKcmyk(48.9%, 55.7%, 0%, 7.8%)
CIE-LABlab(51.71, 39.58, -64.44)
CIE-LCHlch(51.71, 75.63, 301.56°)
OKLaboklab(60% 0.0481 -0.1841)
OKLCHoklch(60% 0.19 284.6)
XYZxyz(27.6870, 19.8905, 80.9615)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7868EB #DBEB68
analogous
#689AEB #7868EB #BA68EB
triadic
#7868EB #EB7868 #68EB78
tetradic
#7868EB #EB689A #DBEB68 #68EBBA
square
#7868EB #EB689A #DBEB68 #68EBBA
split-complementary
#7868EB #EBBA68 #9AEB68
monochromatic
#2E19BF #4832E4 #7868EB #A89EF2 #D9D4F9

Accessibility & contrast

On white

4.22
#7868EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#7868EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7868EB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7868EB#FFFFFF#000000##000000
##7868EB1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D7FEF
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#4E869F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7868eb;
/* rgb */ color: rgb(120, 104, 235);
/* oklch */ color: oklch(60.0% 0.190 284.6);
Tailwind
colors: {
  custom: {
    50: '#a793f2',
    500: '#7868eb',
    950: '#000000',
  },
}
SCSS
$custom: #7868eb;
$custom-light: #a793f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7868eb",
  "rgb": {
    "r": 120,
    "g": 104,
    "b": 235
  },
  "hsl": {
    "h": 247.328,
    "s": 76.608,
    "l": 66.471
  },
  "oklch": {
    "l": 0.59996,
    "c": 0.1903,
    "h": 284.6
  },
  "luminance": 0.19892
}

Semantic roles & 50–950 ramp

primary
#7868EB
secondary
#E7EDC2
accent
#D90DC0
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7868EB

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

Preview Lab → · Contrast checker → · Palette generator →

#7868EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva