#7870FE#7870FE

#7870FE is a light, highly saturated blue. Relative luminance 0.227; OKLCH L 62.7% C 0.204 H 281.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7870FE
RGBrgb(120, 112, 254)
HSLhsl(243, 99%, 72%)
HSVhsv(243, 56%, 100%)
CMYKcmyk(52.8%, 55.9%, 0%, 0.4%)
CIE-LABlab(54.80, 40.57, -70.03)
CIE-LCHlch(54.80, 80.93, 300.08°)
OKLaboklab(62.68% 0.0399 -0.2005)
OKLCHoklch(62.68% 0.204 281.3)
XYZxyz(31.4238, 22.7353, 96.4792)
Luminance0.2274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7870FE #F6FE70
analogous
#70AFFE #7870FE #BF70FE
triadic
#7870FE #FE7870 #70FE78
tetradic
#7870FE #FE70AF #F6FE70 #70FEBF
square
#7870FE #FE70AF #F6FE70 #70FEBF
split-complementary
#7870FE #FEBF70 #AFFE70
monochromatic
#0F02F2 #3F33FE #7870FE #B1ADFE #E2E1FF

Accessibility & contrast

On white

3.79
#7870FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#7870FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7870FE
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7870FE#FFFFFF#000000##000000
##7870FE1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#007EFB
Tritanopia (blue-blind)
#3D91AC
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7870fe;
/* rgb */ color: rgb(120, 112, 254);
/* oklch */ color: oklch(62.7% 0.204 281.3);
Tailwind
colors: {
  custom: {
    50: '#a899ff',
    500: '#7870fe',
    950: '#000000',
  },
}
SCSS
$custom: #7870fe;
$custom-light: #a899ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7870fe",
  "rgb": {
    "r": 120,
    "g": 112,
    "b": 254
  },
  "hsl": {
    "h": 243.38,
    "s": 98.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.62681,
    "c": 0.20446,
    "h": 281.3
  },
  "luminance": 0.22737
}

Semantic roles & 50–950 ramp

primary
#7870FE
secondary
#F5F7D3
accent
#E600D9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7870FE

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

Preview Lab → · Contrast checker → · Palette generator →

#7870FE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva