#7861FF#7861FF

#7861FF is a mid, highly saturated blue. Relative luminance 0.198; OKLCH L 60.3% C 0.224 H 284.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7861FF
RGBrgb(120, 97, 255)
HSLhsl(249, 100%, 69%)
HSVhsv(249, 62%, 100%)
CMYKcmyk(52.9%, 62%, 0%, 0%)
CIE-LABlab(51.57, 49.45, -75.83)
CIE-LCHlch(51.57, 90.53, 303.11°)
OKLaboklab(60.33% 0.0545 -0.2176)
OKLCHoklch(60.33% 0.224 284)
XYZxyz(30.0649, 19.7608, 96.8183)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7861FF #E8FF61
analogous
#6199FF #7861FF #C761FF
triadic
#7861FF #FF7861 #61FF78
tetradic
#7861FF #FF6199 #E8FF61 #61FFC7
square
#7861FF #FF6199 #E8FF61 #61FFC7
split-complementary
#7861FF #FFC761 #99FF61
monochromatic
#2100E6 #4424FF #7861FF #AC9EFF #E1DBFF

Accessibility & contrast

On white

4.24
#7861FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#7861FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7861FF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7861FF#FFFFFF#000000##000000
##7861FF1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#0076FC
Tritanopia (blue-blind)
#3E87A7
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7861ff;
/* rgb */ color: rgb(120, 97, 255);
/* oklch */ color: oklch(60.3% 0.224 284.0);
Tailwind
colors: {
  custom: {
    50: '#aa8fff',
    500: '#7861ff',
    950: '#000000',
  },
}
SCSS
$custom: #7861ff;
$custom-light: #aa8fff;
$custom-dark: #000000;
JSON
{
  "hex": "#7861ff",
  "rgb": {
    "r": 120,
    "g": 97,
    "b": 255
  },
  "hsl": {
    "h": 248.734,
    "s": 100,
    "l": 69.02
  },
  "oklch": {
    "l": 0.60327,
    "c": 0.22435,
    "h": 284
  },
  "luminance": 0.19762
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7861FF

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

Preview Lab → · Contrast checker → · Palette generator →

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