#7862F9#7862F9

#7862F9 is a mid, highly saturated blue. Relative luminance 0.196; OKLCH L 60.0% C 0.216 H 284.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7862F9
RGBrgb(120, 98, 249)
HSLhsl(249, 93%, 68%)
HSVhsv(249, 61%, 98%)
CMYKcmyk(51.8%, 60.6%, 0%, 2.4%)
CIE-LABlab(51.34, 47.13, -72.86)
CIE-LCHlch(51.34, 86.78, 302.90°)
OKLaboklab(60.03% 0.0539 -0.2089)
OKLCHoklch(60.03% 0.216 284.5)
XYZxyz(29.2071, 19.5664, 91.8419)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7862F9 #E3F962
analogous
#6297F9 #7862F9 #C462F9
triadic
#7862F9 #F97862 #62F978
tetradic
#7862F9 #F96297 #E3F962 #62F9C4
square
#7862F9 #F96297 #E3F962 #62F9C4
split-complementary
#7862F9 #F9C462 #97F962
monochromatic
#2708D8 #4527F7 #7862F9 #AB9DFB #DDD8FE

Accessibility & contrast

On white

4.27
#7862F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#7862F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7862F9
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7862F9#FFFFFF#000000##000000
##7862F91.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)
#007FFE
Deuteranopia (green-blind)
#0076F6
Tritanopia (blue-blind)
#4486A4
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7862f9;
/* rgb */ color: rgb(120, 98, 249);
/* oklch */ color: oklch(60.0% 0.216 284.5);
Tailwind
colors: {
  custom: {
    50: '#a990fc',
    500: '#7862f9',
    950: '#000000',
  },
}
SCSS
$custom: #7862f9;
$custom-light: #a990fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7862f9",
  "rgb": {
    "r": 120,
    "g": 98,
    "b": 249
  },
  "hsl": {
    "h": 248.742,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.60028,
    "c": 0.21574,
    "h": 284.5
  },
  "luminance": 0.19568
}

Semantic roles & 50–950 ramp

primary
#7862F9
secondary
#ECF2C4
accent
#E600C4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7862F9

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

Preview Lab → · Contrast checker → · Palette generator →

#7862F9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva