#7860F5#7860F5

#7860F5 is a mid, highly saturated blue. Relative luminance 0.190; OKLCH L 59.4% C 0.213 H 285.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7860F5
RGBrgb(120, 96, 245)
HSLhsl(250, 88%, 67%)
HSVhsv(250, 61%, 96%)
CMYKcmyk(51%, 60.8%, 0%, 3.9%)
CIE-LABlab(50.63, 47.10, -71.79)
CIE-LCHlch(50.63, 85.86, 303.27°)
OKLaboklab(59.42% 0.0561 -0.2058)
OKLCHoklch(59.42% 0.213 285.3)
XYZxyz(28.4051, 18.9499, 88.5295)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7860F5 #DDF560
analogous
#6093F5 #7860F5 #C260F5
triadic
#7860F5 #F57860 #60F578
tetradic
#7860F5 #F56093 #DDF560 #60F5C2
square
#7860F5 #F56093 #DDF560 #60F5C2
split-complementary
#7860F5 #F5C260 #93F560
monochromatic
#2C0DCE #4726F1 #7860F5 #A99AF9 #DAD3FC

Accessibility & contrast

On white

4.38
#7860F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#7860F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7860F5
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7860F5#FFFFFF#000000##000000
##7860F51.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFA
Deuteranopia (green-blind)
#0074F2
Tritanopia (blue-blind)
#4784A2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7860f5;
/* rgb */ color: rgb(120, 96, 245);
/* oklch */ color: oklch(59.4% 0.213 285.3);
Tailwind
colors: {
  custom: {
    50: '#a88ef9',
    500: '#7860f5',
    950: '#000000',
  },
}
SCSS
$custom: #7860f5;
$custom-light: #a88ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#7860f5",
  "rgb": {
    "r": 120,
    "g": 96,
    "b": 245
  },
  "hsl": {
    "h": 249.664,
    "s": 88.166,
    "l": 66.863
  },
  "oklch": {
    "l": 0.59416,
    "c": 0.21328,
    "h": 285.3
  },
  "luminance": 0.18951
}

Semantic roles & 50–950 ramp

primary
#7860F5
secondary
#E9F0C1
accent
#E501C0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7860F5

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

Preview Lab → · Contrast checker → · Palette generator →

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