#7E70DC#7E70DC

#7E70DC is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.9% C 0.159 H 286.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7E70DC
RGBrgb(126, 112, 220)
HSLhsl(248, 61%, 65%)
HSVhsv(248, 49%, 86%)
CMYKcmyk(42.7%, 49.1%, 0%, 13.7%)
CIE-LABlab(53.16, 31.86, -53.66)
CIE-LCHlch(53.16, 62.41, 300.70°)
OKLaboklab(60.9% 0.0454 -0.1522)
OKLCHoklch(60.9% 0.159 286.6)
XYZxyz(27.3129, 21.1902, 70.3473)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E70DC #CEDC70
analogous
#7098DC #7E70DC #B470DC
triadic
#7E70DC #DC7E70 #70DC7E
tetradic
#7E70DC #DC7098 #CEDC70 #70DCB4
square
#7E70DC #DC7098 #CEDC70 #70DCB4
split-complementary
#7E70DC #DCB470 #98DC70
monochromatic
#3A29A8 #523FD0 #7E70DC #AAA1E8 #D7D2F4

Accessibility & contrast

On white

4.01
#7E70DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#7E70DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E70DC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E70DC#FFFFFF#000000##000000
##7E70DC1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4382E0
Deuteranopia (green-blind)
#417CDA
Tritanopia (blue-blind)
#62869C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7e70dc;
/* rgb */ color: rgb(126, 112, 220);
/* oklch */ color: oklch(60.9% 0.159 286.6);
Tailwind
colors: {
  custom: {
    50: '#a899e7',
    500: '#7e70dc',
    950: '#000000',
  },
}
SCSS
$custom: #7e70dc;
$custom-light: #a899e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e70dc",
  "rgb": {
    "r": 126,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 247.778,
    "s": 60.674,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60898,
    "c": 0.15888,
    "h": 286.6
  },
  "luminance": 0.21191
}

Semantic roles & 50–950 ramp

primary
#7E70DC
secondary
#E1E6C2
accent
#C81DB2
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7E70DC

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

Preview Lab → · Contrast checker → · Palette generator →

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