#7860FA#7860FA

#7860FA is a mid, highly saturated blue. Relative luminance 0.193; OKLCH L 59.8% C 0.219 H 284.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7860FA
RGBrgb(120, 96, 250)
HSLhsl(249, 94%, 68%)
HSVhsv(249, 62%, 98%)
CMYKcmyk(52%, 61.6%, 0%, 2%)
CIE-LABlab(50.99, 48.55, -73.99)
CIE-LCHlch(50.99, 88.50, 303.27°)
OKLaboklab(59.79% 0.0558 -0.2122)
OKLCHoklch(59.79% 0.219 284.7)
XYZxyz(29.1787, 19.2594, 92.6039)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7860FA #E2FA60
analogous
#6095FA #7860FA #C560FA
triadic
#7860FA #FA7860 #60FA78
tetradic
#7860FA #FA6095 #E2FA60 #60FAC5
square
#7860FA #FA6095 #E2FA60 #60FAC5
split-complementary
#7860FA #FAC560 #95FA60
monochromatic
#2807D9 #4625F8 #7860FA #AA9BFC #DDD7FE

Accessibility & contrast

On white

4.33
#7860FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#7860FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7860FA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7860FA#FFFFFF#000000##000000
##7860FA1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0075F7
Tritanopia (blue-blind)
#4385A4
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7860fa;
/* rgb */ color: rgb(120, 96, 250);
/* oklch */ color: oklch(59.8% 0.219 284.7);
Tailwind
colors: {
  custom: {
    50: '#a98efd',
    500: '#7860fa',
    950: '#000000',
  },
}
SCSS
$custom: #7860fa;
$custom-light: #a98efd;
$custom-dark: #000000;
JSON
{
  "hex": "#7860fa",
  "rgb": {
    "r": 120,
    "g": 96,
    "b": 250
  },
  "hsl": {
    "h": 249.351,
    "s": 93.902,
    "l": 67.843
  },
  "oklch": {
    "l": 0.59792,
    "c": 0.21944,
    "h": 284.7
  },
  "luminance": 0.19261
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7860FA

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

Preview Lab → · Contrast checker → · Palette generator →

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