#7862FA#7862FA

#7862FA is a mid, highly saturated blue. Relative luminance 0.196; OKLCH L 60.1% C 0.217 H 284.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7862FA
RGBrgb(120, 98, 250)
HSLhsl(249, 94%, 68%)
HSVhsv(249, 61%, 98%)
CMYKcmyk(52%, 60.8%, 0%, 2%)
CIE-LABlab(51.42, 47.43, -73.30)
CIE-LCHlch(51.42, 87.30, 302.90°)
OKLaboklab(60.1% 0.0539 -0.2102)
OKLCHoklch(60.1% 0.217 284.4)
XYZxyz(29.3635, 19.6290, 92.6655)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7862FA #E4FA62
analogous
#6298FA #7862FA #C462FA
triadic
#7862FA #FA7862 #62FA78
tetradic
#7862FA #FA6298 #E4FA62 #62FAC4
square
#7862FA #FA6298 #E4FA62 #62FAC4
split-complementary
#7862FA #FAC462 #98FA62
monochromatic
#2607DB #4527F8 #7862FA #AB9DFC #DED9FE

Accessibility & contrast

On white

4.26
#7862FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#7862FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7862FA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7862FA#FFFFFF#000000##000000
##7862FA1.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)
#0076F7
Tritanopia (blue-blind)
#4386A5
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7862fa;
/* rgb */ color: rgb(120, 98, 250);
/* oklch */ color: oklch(60.1% 0.217 284.4);
Tailwind
colors: {
  custom: {
    50: '#a990fd',
    500: '#7862fa',
    950: '#000000',
  },
}
SCSS
$custom: #7862fa;
$custom-light: #a990fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7862fa",
  "rgb": {
    "r": 120,
    "g": 98,
    "b": 250
  },
  "hsl": {
    "h": 248.684,
    "s": 93.827,
    "l": 68.235
  },
  "oklch": {
    "l": 0.60103,
    "c": 0.21698,
    "h": 284.4
  },
  "luminance": 0.19631
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7862FA

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

Preview Lab → · Contrast checker → · Palette generator →

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