#7870FA#7870FA

#7870FA is a light, vivid blue. Relative luminance 0.225; OKLCH L 62.4% C 0.199 H 281.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7870FA
RGBrgb(120, 112, 250)
HSLhsl(243, 93%, 71%)
HSVhsv(243, 55%, 98%)
CMYKcmyk(52%, 55.2%, 0%, 2%)
CIE-LABlab(54.53, 39.37, -68.24)
CIE-LCHlch(54.53, 78.78, 299.98°)
OKLaboklab(62.4% 0.0399 -0.1953)
OKLCHoklch(62.4% 0.199 281.5)
XYZxyz(30.7899, 22.4817, 93.1409)
Luminance0.2248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7870FA #F2FA70
analogous
#70ADFA #7870FA #BD70FA
triadic
#7870FA #FA7870 #70FA78
tetradic
#7870FA #FA70AD #F2FA70 #70FABD
square
#7870FA #FA70AD #F2FA70 #70FABD
split-complementary
#7870FA #FABD70 #ADFA70
monochromatic
#1508E8 #4035F8 #7870FA #B0ABFC #E3E1FE

Accessibility & contrast

On white

3.82
#7870FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#7870FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7870FA
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7870FA#FFFFFF#000000##000000
##7870FA1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B87FF
Deuteranopia (green-blind)
#007EF7
Tritanopia (blue-blind)
#4190AA
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7870fa;
/* rgb */ color: rgb(120, 112, 250);
/* oklch */ color: oklch(62.4% 0.199 281.5);
Tailwind
colors: {
  custom: {
    50: '#a899fd',
    500: '#7870fa',
    950: '#000000',
  },
}
SCSS
$custom: #7870fa;
$custom-light: #a899fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7870fa",
  "rgb": {
    "r": 120,
    "g": 112,
    "b": 250
  },
  "hsl": {
    "h": 243.478,
    "s": 93.243,
    "l": 70.98
  },
  "oklch": {
    "l": 0.62401,
    "c": 0.19929,
    "h": 281.5
  },
  "luminance": 0.22484
}

Semantic roles & 50–950 ramp

primary
#7870FA
secondary
#F3F5D1
accent
#E600D8
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7870FA

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

Preview Lab → · Contrast checker → · Palette generator →

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