#7868E2#7868E2

#7868E2 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.4% C 0.179 H 285.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7868E2
RGBrgb(120, 104, 226)
HSLhsl(248, 68%, 65%)
HSVhsv(248, 54%, 89%)
CMYKcmyk(46.9%, 54%, 0%, 11.4%)
CIE-LABlab(51.13, 36.95, -60.32)
CIE-LCHlch(51.13, 70.74, 301.49°)
OKLaboklab(59.38% 0.0479 -0.172)
OKLCHoklch(59.38% 0.179 285.6)
XYZxyz(26.4195, 19.3835, 74.2861)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7868E2 #D2E268
analogous
#6895E2 #7868E2 #B568E2
triadic
#7868E2 #E27868 #68E278
tetradic
#7868E2 #E26895 #D2E268 #68E2B5
square
#7868E2 #E26895 #D2E268 #68E2B5
split-complementary
#7868E2 #E2B568 #95E268
monochromatic
#3421AE #4A35D8 #7868E2 #A69BEC #D4CFF6

Accessibility & contrast

On white

4.31
#7868E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#7868E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7868E2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7868E2#FFFFFF#000000##000000
##7868E21.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#257DE6
Deuteranopia (green-blind)
#2076DF
Tritanopia (blue-blind)
#54839B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7868e2;
/* rgb */ color: rgb(120, 104, 226);
/* oklch */ color: oklch(59.4% 0.179 285.6);
Tailwind
colors: {
  custom: {
    50: '#a693ec',
    500: '#7868e2',
    950: '#000000',
  },
}
SCSS
$custom: #7868e2;
$custom-light: #a693ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7868e2",
  "rgb": {
    "r": 120,
    "g": 104,
    "b": 226
  },
  "hsl": {
    "h": 247.869,
    "s": 67.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59381,
    "c": 0.17856,
    "h": 285.6
  },
  "luminance": 0.19385
}

Semantic roles & 50–950 ramp

primary
#7868E2
secondary
#E2E8BE
accent
#D016B7
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7868E2

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

Preview Lab → · Contrast checker → · Palette generator →

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