#7E70E4#7E70E4

#7E70E4 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.4% C 0.170 H 285.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7E70E4
RGBrgb(126, 112, 228)
HSLhsl(247, 68%, 67%)
HSVhsv(247, 51%, 89%)
CMYKcmyk(44.7%, 50.9%, 0%, 10.6%)
CIE-LABlab(53.63, 34.15, -57.41)
CIE-LCHlch(53.63, 66.80, 300.74°)
OKLaboklab(61.4% 0.0461 -0.1632)
OKLCHoklch(61.4% 0.17 285.8)
XYZxyz(28.3979, 21.6242, 76.0613)
Luminance0.2162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E70E4 #D6E470
analogous
#709CE4 #7E70E4 #B870E4
triadic
#7E70E4 #E47E70 #70E47E
tetradic
#7E70E4 #E4709C #D6E470 #70E4B8
square
#7E70E4 #E4709C #D6E470 #70E4B8
split-complementary
#7E70E4 #E4B870 #9CE470
monochromatic
#3423B7 #503DDA #7E70E4 #ACA3EE #DBD7F7

Accessibility & contrast

On white

3.94
#7E70E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#7E70E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E70E4
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E70E4#FFFFFF#000000##000000
##7E70E41.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B83E8
Deuteranopia (green-blind)
#387DE1
Tritanopia (blue-blind)
#5E899F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e70e4;
/* rgb */ color: rgb(126, 112, 228);
/* oklch */ color: oklch(61.4% 0.170 285.8);
Tailwind
colors: {
  custom: {
    50: '#a999ed',
    500: '#7e70e4',
    950: '#000000',
  },
}
SCSS
$custom: #7e70e4;
$custom-light: #a999ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7e70e4",
  "rgb": {
    "r": 126,
    "g": 112,
    "b": 228
  },
  "hsl": {
    "h": 247.241,
    "s": 68.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.614,
    "c": 0.16963,
    "h": 285.8
  },
  "luminance": 0.21625
}

Semantic roles & 50–950 ramp

primary
#7E70E4
secondary
#E6EBC5
accent
#D015BA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7E70E4

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

Preview Lab → · Contrast checker → · Palette generator →

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