#7868F4#7868F4

#7868F4 is a mid, highly saturated blue. Relative luminance 0.204; OKLCH L 60.6% C 0.202 H 283.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7868F4
RGBrgb(120, 104, 244)
HSLhsl(247, 86%, 68%)
HSVhsv(247, 57%, 96%)
CMYKcmyk(50.8%, 57.4%, 0%, 4.3%)
CIE-LABlab(52.31, 42.23, -68.50)
CIE-LCHlch(52.31, 80.48, 301.65°)
OKLaboklab(60.63% 0.0481 -0.1961)
OKLCHoklch(60.63% 0.202 283.8)
XYZxyz(29.0203, 20.4238, 87.9834)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7868F4 #E4F468
analogous
#689EF4 #7868F4 #BE68F4
triadic
#7868F4 #F47868 #68F478
tetradic
#7868F4 #F4689E #E4F468 #68F4BE
square
#7868F4 #F4689E #E4F468 #68F4BE
split-complementary
#7868F4 #F4BE68 #9EF468
monochromatic
#260FD2 #452FF0 #7868F4 #ABA1F8 #DEDAFC

Accessibility & contrast

On white

4.13
#7868F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#7868F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7868F4
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7868F4#FFFFFF#000000##000000
##7868F41.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F9
Deuteranopia (green-blind)
#0078F1
Tritanopia (blue-blind)
#4788A4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7868f4;
/* rgb */ color: rgb(120, 104, 244);
/* oklch */ color: oklch(60.6% 0.202 283.8);
Tailwind
colors: {
  custom: {
    50: '#a894f9',
    500: '#7868f4',
    950: '#000000',
  },
}
SCSS
$custom: #7868f4;
$custom-light: #a894f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7868f4",
  "rgb": {
    "r": 120,
    "g": 104,
    "b": 244
  },
  "hsl": {
    "h": 246.857,
    "s": 86.42,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6063,
    "c": 0.20188,
    "h": 283.8
  },
  "luminance": 0.20425
}

Semantic roles & 50–950 ramp

primary
#7868F4
secondary
#ECF1C7
accent
#E303C9
background
#FAF9FF
surface
#F5F1FF
border
#CFCBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7868F4

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

Preview Lab → · Contrast checker → · Palette generator →

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