#7868F8#7868F8

#7868F8 is a mid, highly saturated blue. Relative luminance 0.207; OKLCH L 60.9% C 0.207 H 283.4°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7868F8
RGBrgb(120, 104, 248)
HSLhsl(247, 91%, 69%)
HSVhsv(247, 58%, 97%)
CMYKcmyk(51.6%, 58.1%, 0%, 2.7%)
CIE-LABlab(52.59, 43.41, -70.29)
CIE-LCHlch(52.59, 82.61, 301.70°)
OKLaboklab(60.92% 0.048 -0.2013)
OKLCHoklch(60.92% 0.207 283.4)
XYZxyz(29.6342, 20.6694, 91.2168)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7868F8 #E8F868
analogous
#68A0F8 #7868F8 #C068F8
triadic
#7868F8 #F87868 #68F878
tetradic
#7868F8 #F868A0 #E8F868 #68F8C0
square
#7868F8 #F868A0 #E8F868 #68F8C0
split-complementary
#7868F8 #F8C068 #A0F868
monochromatic
#210ADB #442EF5 #7868F8 #ACA2FB #E1DDFD

Accessibility & contrast

On white

4.09
#7868F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#7868F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7868F8
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7868F8#FFFFFF#000000##000000
##7868F81.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FD
Deuteranopia (green-blind)
#0079F5
Tritanopia (blue-blind)
#448AA6
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7868f8;
/* rgb */ color: rgb(120, 104, 248);
/* oklch */ color: oklch(60.9% 0.207 283.4);
Tailwind
colors: {
  custom: {
    50: '#a894fb',
    500: '#7868f8',
    950: '#000000',
  },
}
SCSS
$custom: #7868f8;
$custom-light: #a894fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7868f8",
  "rgb": {
    "r": 120,
    "g": 104,
    "b": 248
  },
  "hsl": {
    "h": 246.667,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.60918,
    "c": 0.20697,
    "h": 283.4
  },
  "luminance": 0.20671
}

Semantic roles & 50–950 ramp

primary
#7868F8
secondary
#EEF3C9
accent
#E600CC
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7868F8

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

Preview Lab → · Contrast checker → · Palette generator →

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