#7E70EC#7E70EC

#7E70EC is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.9% C 0.180 H 285.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7E70EC
RGBrgb(126, 112, 236)
HSLhsl(247, 77%, 68%)
HSVhsv(247, 53%, 93%)
CMYKcmyk(46.6%, 52.5%, 0%, 7.5%)
CIE-LABlab(54.11, 36.46, -61.12)
CIE-LCHlch(54.11, 71.17, 300.82°)
OKLaboklab(61.92% 0.0466 -0.1741)
OKLCHoklch(61.92% 0.18 285)
XYZxyz(29.5342, 22.0787, 82.0461)
Luminance0.2208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E70EC #DEEC70
analogous
#70A0EC #7E70EC #BC70EC
triadic
#7E70EC #EC7E70 #70EC7E
tetradic
#7E70EC #EC70A0 #DEEC70 #70ECBC
square
#7E70EC #EC70A0 #DEEC70 #70ECBC
split-complementary
#7E70EC #ECBC70 #A0EC70
monochromatic
#2E1AC7 #4D3AE5 #7E70EC #AFA6F3 #DFDCFA

Accessibility & contrast

On white

3.88
#7E70EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#7E70EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E70EC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E70EC#FFFFFF#000000##000000
##7E70EC1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3185F0
Deuteranopia (green-blind)
#2C7EE9
Tritanopia (blue-blind)
#598BA3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e70ec;
/* rgb */ color: rgb(126, 112, 236);
/* oklch */ color: oklch(61.9% 0.180 285.0);
Tailwind
colors: {
  custom: {
    50: '#aa99f3',
    500: '#7e70ec',
    950: '#000000',
  },
}
SCSS
$custom: #7e70ec;
$custom-light: #aa99f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e70ec",
  "rgb": {
    "r": 126,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 246.774,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61918,
    "c": 0.18025,
    "h": 285
  },
  "luminance": 0.2208
}

Semantic roles & 50–950 ramp

primary
#7E70EC
secondary
#EAEFC9
accent
#D90DC2
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #7E70EC

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

Preview Lab → · Contrast checker → · Palette generator →

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