#7861FD#7861FD

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

Color values

HEX#7861FD
RGBrgb(120, 97, 253)
HSLhsl(249, 98%, 69%)
HSVhsv(249, 62%, 99%)
CMYKcmyk(52.6%, 61.7%, 0%, 0.8%)
CIE-LABlab(51.42, 48.86, -74.96)
CIE-LCHlch(51.42, 89.48, 303.10°)
OKLaboklab(60.17% 0.0546 -0.2151)
OKLCHoklch(60.17% 0.222 284.2)
XYZxyz(29.7447, 19.6326, 95.1316)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7861FD #E6FD61
analogous
#6198FD #7861FD #C661FD
triadic
#7861FD #FD7861 #61FD78
tetradic
#7861FD #FD6198 #E6FD61 #61FDC6
square
#7861FD #FD6198 #E6FD61 #61FDC6
split-complementary
#7861FD #FDC661 #98FD61
monochromatic
#2403E1 #4425FC #7861FD #AC9DFE #DFDAFF

Accessibility & contrast

On white

4.26
#7861FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#7861FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7861FD
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7861FD#FFFFFF#000000##000000
##7861FD1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0076FA
Tritanopia (blue-blind)
#4087A6
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7861fd;
/* rgb */ color: rgb(120, 97, 253);
/* oklch */ color: oklch(60.2% 0.222 284.2);
Tailwind
colors: {
  custom: {
    50: '#a98fff',
    500: '#7861fd',
    950: '#000000',
  },
}
SCSS
$custom: #7861fd;
$custom-light: #a98fff;
$custom-dark: #000000;
JSON
{
  "hex": "#7861fd",
  "rgb": {
    "r": 120,
    "g": 97,
    "b": 253
  },
  "hsl": {
    "h": 248.846,
    "s": 97.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.60174,
    "c": 0.2219,
    "h": 284.2
  },
  "luminance": 0.19634
}

Semantic roles & 50–950 ramp

primary
#7861FD
secondary
#EDF4C6
accent
#E600C4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7861FD

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

Preview Lab → · Contrast checker → · Palette generator →

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