#7870FD#7870FD

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

Color values

HEX#7870FD
RGBrgb(120, 112, 253)
HSLhsl(243, 97%, 72%)
HSVhsv(243, 56%, 99%)
CMYKcmyk(52.6%, 55.7%, 0%, 0.8%)
CIE-LABlab(54.73, 40.27, -69.59)
CIE-LCHlch(54.73, 80.40, 300.06°)
OKLaboklab(62.61% 0.0399 -0.1992)
OKLCHoklch(62.61% 0.203 281.3)
XYZxyz(31.2641, 22.6714, 95.6381)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7870FD #F5FD70
analogous
#70AFFD #7870FD #BF70FD
triadic
#7870FD #FD7870 #70FD78
tetradic
#7870FD #FD70AF #F5FD70 #70FDBF
square
#7870FD #FD70AF #F5FD70 #70FDBF
split-complementary
#7870FD #FDBF70 #AFFD70
monochromatic
#1103EF #3F34FC #7870FD #B1ACFE #E3E1FF

Accessibility & contrast

On white

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

On black

5.53
#7870FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7870FD
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7870FD#FFFFFF#000000##000000
##7870FD1.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7870fd;
/* rgb */ color: rgb(120, 112, 253);
/* oklch */ color: oklch(62.6% 0.203 281.3);
Tailwind
colors: {
  custom: {
    50: '#a899ff',
    500: '#7870fd',
    950: '#000000',
  },
}
SCSS
$custom: #7870fd;
$custom-light: #a899ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7870fd",
  "rgb": {
    "r": 120,
    "g": 112,
    "b": 253
  },
  "hsl": {
    "h": 243.404,
    "s": 97.241,
    "l": 71.569
  },
  "oklch": {
    "l": 0.62611,
    "c": 0.20317,
    "h": 281.3
  },
  "luminance": 0.22673
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7870FD

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

Preview Lab → · Contrast checker → · Palette generator →

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