#7868EF#7868EF

#7868EF is a mid, vivid blue. Relative luminance 0.201; OKLCH L 60.3% C 0.195 H 284.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7868EF
RGBrgb(120, 104, 239)
HSLhsl(247, 81%, 67%)
HSVhsv(247, 56%, 94%)
CMYKcmyk(49.8%, 56.5%, 0%, 6.3%)
CIE-LABlab(51.98, 40.76, -66.26)
CIE-LCHlch(51.98, 77.79, 301.60°)
OKLaboklab(60.28% 0.0481 -0.1894)
OKLCHoklch(60.28% 0.195 284.3)
XYZxyz(28.2714, 20.1242, 84.0393)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7868EF #DFEF68
analogous
#689CEF #7868EF #BB68EF
triadic
#7868EF #EF7868 #68EF78
tetradic
#7868EF #EF689C #DFEF68 #68EFBB
square
#7868EF #EF689C #DFEF68 #68EFBB
split-complementary
#7868EF #EFBB68 #9CEF68
monochromatic
#2A15C7 #4731E9 #7868EF #A99FF5 #DBD7FB

Accessibility & contrast

On white

4.18
#7868EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#7868EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7868EF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7868EF#FFFFFF#000000##000000
##7868EF1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#4B87A2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7868ef;
/* rgb */ color: rgb(120, 104, 239);
/* oklch */ color: oklch(60.3% 0.195 284.3);
Tailwind
colors: {
  custom: {
    50: '#a793f5',
    500: '#7868ef',
    950: '#000000',
  },
}
SCSS
$custom: #7868ef;
$custom-light: #a793f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7868ef",
  "rgb": {
    "r": 120,
    "g": 104,
    "b": 239
  },
  "hsl": {
    "h": 247.111,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60276,
    "c": 0.19547,
    "h": 284.3
  },
  "luminance": 0.20126
}

Semantic roles & 50–950 ramp

primary
#7868EF
secondary
#EAEFC4
accent
#DD08C4
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7868EF

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

Preview Lab → · Contrast checker → · Palette generator →

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