#7860FD#7860FD

#7860FD is a mid, highly saturated blue. Relative luminance 0.195; OKLCH L 60.0% C 0.223 H 284.4°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7860FD
RGBrgb(120, 96, 253)
HSLhsl(249, 98%, 68%)
HSVhsv(249, 62%, 99%)
CMYKcmyk(52.6%, 62.1%, 0%, 0.8%)
CIE-LABlab(51.21, 49.42, -75.30)
CIE-LCHlch(51.21, 90.07, 303.28°)
OKLaboklab(60.02% 0.0555 -0.2161)
OKLCHoklch(60.02% 0.223 284.4)
XYZxyz(29.6529, 19.4490, 95.1010)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7860FD #E5FD60
analogous
#6096FD #7860FD #C660FD
triadic
#7860FD #FD7860 #60FD78
tetradic
#7860FD #FD6096 #E5FD60 #60FDC6
square
#7860FD #FD6096 #E5FD60 #60FDC6
split-complementary
#7860FD #FDC660 #96FD60
monochromatic
#2503E0 #4524FC #7860FD #AB9CFE #DFD9FF

Accessibility & contrast

On white

4.29
#7860FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#7860FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7860FD
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7860FD#FFFFFF#000000##000000
##7860FD1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0075FA
Tritanopia (blue-blind)
#4086A6
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7860fd;
/* rgb */ color: rgb(120, 96, 253);
/* oklch */ color: oklch(60.0% 0.223 284.4);
Tailwind
colors: {
  custom: {
    50: '#a98eff',
    500: '#7860fd',
    950: '#000000',
  },
}
SCSS
$custom: #7860fd;
$custom-light: #a98eff;
$custom-dark: #000000;
JSON
{
  "hex": "#7860fd",
  "rgb": {
    "r": 120,
    "g": 96,
    "b": 253
  },
  "hsl": {
    "h": 249.172,
    "s": 97.516,
    "l": 68.431
  },
  "oklch": {
    "l": 0.60021,
    "c": 0.22311,
    "h": 284.4
  },
  "luminance": 0.19451
}

Semantic roles & 50–950 ramp

primary
#7860FD
secondary
#EDF4C5
accent
#E600C2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7860FD

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

Preview Lab → · Contrast checker → · Palette generator →

#7860FD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva