#7861FA#7861FA

#7861FA is a mid, highly saturated blue. Relative luminance 0.194; OKLCH L 59.9% C 0.218 H 284.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7861FA
RGBrgb(120, 97, 250)
HSLhsl(249, 94%, 68%)
HSVhsv(249, 61%, 98%)
CMYKcmyk(52%, 61.2%, 0%, 2%)
CIE-LABlab(51.20, 47.99, -73.65)
CIE-LCHlch(51.20, 87.90, 303.09°)
OKLaboklab(59.95% 0.0548 -0.2112)
OKLCHoklch(59.95% 0.218 284.5)
XYZxyz(29.2705, 19.4430, 92.6345)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7861FA #E3FA61
analogous
#6196FA #7861FA #C561FA
triadic
#7861FA #FA7861 #61FA78
tetradic
#7861FA #FA6196 #E3FA61 #61FAC5
square
#7861FA #FA6196 #E3FA61 #61FAC5
split-complementary
#7861FA #FAC561 #96FA61
monochromatic
#2707DA #4526F8 #7861FA #AB9CFC #DDD8FE

Accessibility & contrast

On white

4.30
#7861FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#7861FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7861FA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7861FA#FFFFFF#000000##000000
##7861FA1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0075F7
Tritanopia (blue-blind)
#4386A5
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7861fa;
/* rgb */ color: rgb(120, 97, 250);
/* oklch */ color: oklch(59.9% 0.218 284.5);
Tailwind
colors: {
  custom: {
    50: '#a98ffd',
    500: '#7861fa',
    950: '#000000',
  },
}
SCSS
$custom: #7861fa;
$custom-light: #a98ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#7861fa",
  "rgb": {
    "r": 120,
    "g": 97,
    "b": 250
  },
  "hsl": {
    "h": 249.02,
    "s": 93.865,
    "l": 68.039
  },
  "oklch": {
    "l": 0.59947,
    "c": 0.21822,
    "h": 284.5
  },
  "luminance": 0.19445
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7861FA

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

Preview Lab → · Contrast checker → · Palette generator →

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