#7861FC#7861FC

#7861FC is a mid, highly saturated blue. Relative luminance 0.196; OKLCH L 60.1% C 0.221 H 284.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7861FC
RGBrgb(120, 97, 252)
HSLhsl(249, 96%, 68%)
HSVhsv(249, 62%, 99%)
CMYKcmyk(52.4%, 61.5%, 0%, 1.2%)
CIE-LABlab(51.35, 48.57, -74.52)
CIE-LCHlch(51.35, 88.95, 303.10°)
OKLaboklab(60.1% 0.0547 -0.2138)
OKLCHoklch(60.1% 0.221 284.3)
XYZxyz(29.5858, 19.5691, 94.2948)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7861FC #E5FC61
analogous
#6197FC #7861FC #C561FC
triadic
#7861FC #FC7861 #61FC78
tetradic
#7861FC #FC6197 #E5FC61 #61FCC5
square
#7861FC #FC6197 #E5FC61 #61FCC5
split-complementary
#7861FC #FCC561 #97FC61
monochromatic
#2504DE #4525FB #7861FC #AB9DFD #DFD9FE

Accessibility & contrast

On white

4.27
#7861FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#7861FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7861FC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7861FC#FFFFFF#000000##000000
##7861FC1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7861fc;
/* rgb */ color: rgb(120, 97, 252);
/* oklch */ color: oklch(60.1% 0.221 284.3);
Tailwind
colors: {
  custom: {
    50: '#a98ffe',
    500: '#7861fc',
    950: '#000000',
  },
}
SCSS
$custom: #7861fc;
$custom-light: #a98ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#7861fc",
  "rgb": {
    "r": 120,
    "g": 97,
    "b": 252
  },
  "hsl": {
    "h": 248.903,
    "s": 96.273,
    "l": 68.431
  },
  "oklch": {
    "l": 0.60098,
    "c": 0.22067,
    "h": 284.3
  },
  "luminance": 0.19571
}

Semantic roles & 50–950 ramp

primary
#7861FC
secondary
#EDF4C5
accent
#E600C3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7861FC

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

Preview Lab → · Contrast checker → · Palette generator →

#7861FC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva