#7E70F4#7E70F4

#7E70F4 is a light, vivid blue. Relative luminance 0.226; OKLCH L 62.5% C 0.191 H 284.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7E70F4
RGBrgb(126, 112, 244)
HSLhsl(246, 86%, 70%)
HSVhsv(246, 54%, 96%)
CMYKcmyk(48.4%, 54.1%, 0%, 4.3%)
CIE-LABlab(54.61, 38.79, -64.77)
CIE-LCHlch(54.61, 75.50, 300.92°)
OKLaboklab(62.45% 0.0469 -0.1849)
OKLCHoklch(62.45% 0.191 284.2)
XYZxyz(30.7226, 22.5541, 88.3050)
Luminance0.2256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E70F4 #E6F470
analogous
#70A4F4 #7E70F4 #C070F4
triadic
#7E70F4 #F47E70 #70F47E
tetradic
#7E70F4 #F470A4 #E6F470 #70F4C0
square
#7E70F4 #F470A4 #E6F470 #70F4C0
split-complementary
#7E70F4 #F4C070 #A4F470
monochromatic
#2611D9 #4B37F0 #7E70F4 #B1A9F8 #E5E2FD

Accessibility & contrast

On white

3.81
#7E70F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#7E70F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E70F4
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E70F4#FFFFFF#000000##000000
##7E70F41.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2387F9
Deuteranopia (green-blind)
#197EF1
Tritanopia (blue-blind)
#548DA7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7e70f4;
/* rgb */ color: rgb(126, 112, 244);
/* oklch */ color: oklch(62.5% 0.191 284.2);
Tailwind
colors: {
  custom: {
    50: '#ab99f8',
    500: '#7e70f4',
    950: '#000000',
  },
}
SCSS
$custom: #7e70f4;
$custom-light: #ab99f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e70f4",
  "rgb": {
    "r": 126,
    "g": 112,
    "b": 244
  },
  "hsl": {
    "h": 246.364,
    "s": 85.714,
    "l": 69.804
  },
  "oklch": {
    "l": 0.6245,
    "c": 0.19073,
    "h": 284.2
  },
  "luminance": 0.22556
}

Semantic roles & 50–950 ramp

primary
#7E70F4
secondary
#EFF3CD
accent
#E203CB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #7E70F4

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

Preview Lab → · Contrast checker → · Palette generator →

#7E70F4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva