#7868E8#7868E8

#7868E8 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.8% C 0.186 H 285.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7868E8
RGBrgb(120, 104, 232)
HSLhsl(248, 74%, 66%)
HSVhsv(248, 55%, 91%)
CMYKcmyk(48.3%, 55.2%, 0%, 9%)
CIE-LABlab(51.52, 38.70, -63.08)
CIE-LCHlch(51.52, 74.00, 301.53°)
OKLaboklab(59.79% 0.0481 -0.1801)
OKLCHoklch(59.79% 0.186 285)
XYZxyz(27.2572, 19.7186, 78.6981)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7868E8 #D8E868
analogous
#6898E8 #7868E8 #B868E8
triadic
#7868E8 #E87868 #68E878
tetradic
#7868E8 #E86898 #D8E868 #68E8B8
square
#7868E8 #E86898 #D8E868 #68E8B8
split-complementary
#7868E8 #E8B868 #98E868
monochromatic
#301CB9 #4933E0 #7868E8 #A79DF0 #D7D2F8

Accessibility & contrast

On white

4.25
#7868E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#7868E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7868E8
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7868E8#FFFFFF#000000##000000
##7868E81.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#187EEC
Deuteranopia (green-blind)
#0D77E5
Tritanopia (blue-blind)
#50859E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7868e8;
/* rgb */ color: rgb(120, 104, 232);
/* oklch */ color: oklch(59.8% 0.186 285.0);
Tailwind
colors: {
  custom: {
    50: '#a693f0',
    500: '#7868e8',
    950: '#000000',
  },
}
SCSS
$custom: #7868e8;
$custom-light: #a693f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7868e8",
  "rgb": {
    "r": 120,
    "g": 104,
    "b": 232
  },
  "hsl": {
    "h": 247.5,
    "s": 73.563,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59789,
    "c": 0.18641,
    "h": 285
  },
  "luminance": 0.1972
}

Semantic roles & 50–950 ramp

primary
#7868E8
secondary
#E6EBC1
accent
#D610BD
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7868E8

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

Preview Lab → · Contrast checker → · Palette generator →

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