#7862F7#7862F7

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

Color values

HEX#7862F7
RGBrgb(120, 98, 247)
HSLhsl(249, 90%, 68%)
HSVhsv(249, 60%, 97%)
CMYKcmyk(51.4%, 60.3%, 0%, 3.1%)
CIE-LABlab(51.20, 46.55, -71.98)
CIE-LCHlch(51.20, 85.72, 302.89°)
OKLaboklab(59.88% 0.054 -0.2063)
OKLCHoklch(59.88% 0.213 284.7)
XYZxyz(28.8969, 19.4423, 90.2077)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7862F7 #E1F762
analogous
#6296F7 #7862F7 #C262F7
triadic
#7862F7 #F77862 #62F778
tetradic
#7862F7 #F76296 #E1F762 #62F7C2
square
#7862F7 #F76296 #E1F762 #62F7C2
split-complementary
#7862F7 #F7C262 #96F762
monochromatic
#280BD4 #4628F4 #7862F7 #AA9CFA #DCD6FD

Accessibility & contrast

On white

4.30
#7862F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#7862F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7862F7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7862F7#FFFFFF#000000##000000
##7862F71.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)
#007EFC
Deuteranopia (green-blind)
#0075F4
Tritanopia (blue-blind)
#4585A3
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7862f7;
/* rgb */ color: rgb(120, 98, 247);
/* oklch */ color: oklch(59.9% 0.213 284.7);
Tailwind
colors: {
  custom: {
    50: '#a890fb',
    500: '#7862f7',
    950: '#000000',
  },
}
SCSS
$custom: #7862f7;
$custom-light: #a890fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7862f7",
  "rgb": {
    "r": 120,
    "g": 98,
    "b": 247
  },
  "hsl": {
    "h": 248.859,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.59879,
    "c": 0.21327,
    "h": 284.7
  },
  "luminance": 0.19444
}

Semantic roles & 50–950 ramp

primary
#7862F7
secondary
#EBF2C3
accent
#E600C4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7862F7

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

Preview Lab → · Contrast checker → · Palette generator →

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