#7860FF#7860FF

#7860FF is a mid, highly saturated blue. Relative luminance 0.196; OKLCH L 60.2% C 0.226 H 284.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7860FF
RGBrgb(120, 96, 255)
HSLhsl(249, 100%, 69%)
HSVhsv(249, 62%, 100%)
CMYKcmyk(52.9%, 62.4%, 0%, 0%)
CIE-LABlab(51.36, 50.00, -76.17)
CIE-LCHlch(51.36, 91.12, 303.28°)
OKLaboklab(60.17% 0.0554 -0.2186)
OKLCHoklch(60.17% 0.226 284.2)
XYZxyz(29.9731, 19.5771, 96.7877)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7860FF #E7FF60
analogous
#6098FF #7860FF #C860FF
triadic
#7860FF #FF7860 #60FF78
tetradic
#7860FF #FF6098 #E7FF60 #60FFC8
square
#7860FF #FF6098 #E7FF60 #60FFC8
split-complementary
#7860FF #FFC860 #98FF60
monochromatic
#2300E5 #4423FF #7860FF #AC9DFF #E0DAFF

Accessibility & contrast

On white

4.27
#7860FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#7860FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7860FF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7860FF#FFFFFF#000000##000000
##7860FF1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0075FC
Tritanopia (blue-blind)
#3E87A7
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7860ff;
/* rgb */ color: rgb(120, 96, 255);
/* oklch */ color: oklch(60.2% 0.226 284.2);
Tailwind
colors: {
  custom: {
    50: '#aa8eff',
    500: '#7860ff',
    950: '#000000',
  },
}
SCSS
$custom: #7860ff;
$custom-light: #aa8eff;
$custom-dark: #000000;
JSON
{
  "hex": "#7860ff",
  "rgb": {
    "r": 120,
    "g": 96,
    "b": 255
  },
  "hsl": {
    "h": 249.057,
    "s": 100,
    "l": 68.824
  },
  "oklch": {
    "l": 0.60174,
    "c": 0.22554,
    "h": 284.2
  },
  "luminance": 0.19579
}

Semantic roles & 50–950 ramp

primary
#7860FF
secondary
#EEF5C6
accent
#E600C3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7860FF

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

Preview Lab → · Contrast checker → · Palette generator →

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