#7E70EA#7E70EA

#7E70EA is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.8% C 0.178 H 285.2°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#7E70EA
RGBrgb(126, 112, 234)
HSLhsl(247, 74%, 68%)
HSVhsv(247, 52%, 92%)
CMYKcmyk(46.2%, 52.1%, 0%, 8.2%)
CIE-LABlab(53.99, 35.88, -60.20)
CIE-LCHlch(53.99, 70.08, 300.80°)
OKLaboklab(61.79% 0.0465 -0.1714)
OKLCHoklch(61.79% 0.178 285.2)
XYZxyz(29.2453, 21.9632, 80.5243)
Luminance0.2196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E70EA #DCEA70
analogous
#709FEA #7E70EA #BB70EA
triadic
#7E70EA #EA7E70 #70EA7E
tetradic
#7E70EA #EA709F #DCEA70 #70EABB
square
#7E70EA #EA709F #DCEA70 #70EABB
split-complementary
#7E70EA #EABB70 #9FEA70
monochromatic
#301DC3 #4E3BE2 #7E70EA #AEA5F2 #DEDBFA

Accessibility & contrast

On white

3.89
#7E70EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#7E70EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E70EA
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E70EA#FFFFFF#000000##000000
##7E70EA1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3485EE
Deuteranopia (green-blind)
#2F7DE7
Tritanopia (blue-blind)
#5A8AA2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e70ea;
/* rgb */ color: rgb(126, 112, 234);
/* oklch */ color: oklch(61.8% 0.178 285.2);
Tailwind
colors: {
  custom: {
    50: '#aa99f1',
    500: '#7e70ea',
    950: '#000000',
  },
}
SCSS
$custom: #7e70ea;
$custom-light: #aa99f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e70ea",
  "rgb": {
    "r": 126,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 246.885,
    "s": 74.39,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61787,
    "c": 0.17761,
    "h": 285.2
  },
  "luminance": 0.21964
}

Semantic roles & 50–950 ramp

primary
#7E70EA
secondary
#E9EEC8
accent
#D70FC0
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7E70EA

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

Preview Lab → · Contrast checker → · Palette generator →

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