#7870FC#7870FC

#7870FC is a light, highly saturated blue. Relative luminance 0.226; OKLCH L 62.5% C 0.202 H 281.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#7870FC
RGBrgb(120, 112, 252)
HSLhsl(243, 96%, 71%)
HSVhsv(243, 56%, 99%)
CMYKcmyk(52.4%, 55.6%, 0%, 1.2%)
CIE-LABlab(54.67, 39.97, -69.14)
CIE-LCHlch(54.67, 79.86, 300.03°)
OKLaboklab(62.54% 0.0399 -0.1979)
OKLCHoklch(62.54% 0.202 281.4)
XYZxyz(31.1052, 22.6078, 94.8013)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7870FC #F4FC70
analogous
#70AEFC #7870FC #BE70FC
triadic
#7870FC #FC7870 #70FC78
tetradic
#7870FC #FC70AE #F4FC70 #70FCBE
square
#7870FC #FC70AE #F4FC70 #70FCBE
split-complementary
#7870FC #FCBE70 #AEFC70
monochromatic
#1205ED #3F34FB #7870FC #B1ACFD #E3E1FE

Accessibility & contrast

On white

3.80
#7870FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#7870FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7870FC
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7870FC#FFFFFF#000000##000000
##7870FC1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7870fc;
/* rgb */ color: rgb(120, 112, 252);
/* oklch */ color: oklch(62.5% 0.202 281.4);
Tailwind
colors: {
  custom: {
    50: '#a899fe',
    500: '#7870fc',
    950: '#000000',
  },
}
SCSS
$custom: #7870fc;
$custom-light: #a899fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7870fc",
  "rgb": {
    "r": 120,
    "g": 112,
    "b": 252
  },
  "hsl": {
    "h": 243.429,
    "s": 95.89,
    "l": 71.373
  },
  "oklch": {
    "l": 0.62541,
    "c": 0.20187,
    "h": 281.4
  },
  "luminance": 0.2261
}

Semantic roles & 50–950 ramp

primary
#7870FC
secondary
#F4F6D2
accent
#E600D8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7870FC

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

Preview Lab → · Contrast checker → · Palette generator →

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