#7868EA#7868EA

#7868EA is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.9% C 0.189 H 284.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7868EA
RGBrgb(120, 104, 234)
HSLhsl(247, 76%, 66%)
HSVhsv(247, 56%, 92%)
CMYKcmyk(48.7%, 55.6%, 0%, 8.2%)
CIE-LABlab(51.65, 39.29, -63.99)
CIE-LCHlch(51.65, 75.09, 301.55°)
OKLaboklab(59.93% 0.0481 -0.1828)
OKLCHoklch(59.93% 0.189 284.7)
XYZxyz(27.5429, 19.8329, 80.2028)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7868EA #DAEA68
analogous
#6899EA #7868EA #B968EA
triadic
#7868EA #EA7868 #68EA78
tetradic
#7868EA #EA6899 #DAEA68 #68EAB9
square
#7868EA #EA6899 #DAEA68 #68EAB9
split-complementary
#7868EA #EAB968 #99EA68
monochromatic
#2E1ABD #4832E3 #7868EA #A89EF1 #D8D3F9

Accessibility & contrast

On white

4.23
#7868EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#7868EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7868EA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7868EA#FFFFFF#000000##000000
##7868EA1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#117FEE
Deuteranopia (green-blind)
#0277E7
Tritanopia (blue-blind)
#4F859F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7868ea;
/* rgb */ color: rgb(120, 104, 234);
/* oklch */ color: oklch(59.9% 0.189 284.7);
Tailwind
colors: {
  custom: {
    50: '#a693f1',
    500: '#7868ea',
    950: '#000000',
  },
}
SCSS
$custom: #7868ea;
$custom-light: #a693f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7868ea",
  "rgb": {
    "r": 120,
    "g": 104,
    "b": 234
  },
  "hsl": {
    "h": 247.385,
    "s": 75.581,
    "l": 66.275
  },
  "oklch": {
    "l": 0.59927,
    "c": 0.18902,
    "h": 284.7
  },
  "luminance": 0.19834
}

Semantic roles & 50–950 ramp

primary
#7868EA
secondary
#E7ECC2
accent
#D80EBF
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7868EA

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

Preview Lab → · Contrast checker → · Palette generator →

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