#7E70DF#7E70DF

#7E70DF is a mid, vivid blue. Relative luminance 0.214; OKLCH L 61.1% C 0.163 H 286.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7E70DF
RGBrgb(126, 112, 223)
HSLhsl(248, 63%, 66%)
HSVhsv(248, 50%, 87%)
CMYKcmyk(43.5%, 49.8%, 0%, 12.5%)
CIE-LABlab(53.33, 32.71, -55.08)
CIE-LCHlch(53.33, 64.06, 300.71°)
OKLaboklab(61.09% 0.0457 -0.1564)
OKLCHoklch(61.09% 0.163 286.3)
XYZxyz(27.7138, 21.3506, 72.4586)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E70DF #D1DF70
analogous
#7099DF #7E70DF #B670DF
triadic
#7E70DF #DF7E70 #70DF7E
tetradic
#7E70DF #DF7099 #D1DF70 #70DFB6
square
#7E70DF #DF7099 #D1DF70 #70DFB6
split-complementary
#7E70DF #DFB670 #99DF70
monochromatic
#3827AE #513ED4 #7E70DF #ABA2EA #D8D4F5

Accessibility & contrast

On white

3.98
#7E70DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#7E70DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E70DF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E70DF#FFFFFF#000000##000000
##7E70DF1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4082E3
Deuteranopia (green-blind)
#3E7CDD
Tritanopia (blue-blind)
#60879D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7e70df;
/* rgb */ color: rgb(126, 112, 223);
/* oklch */ color: oklch(61.1% 0.163 286.3);
Tailwind
colors: {
  custom: {
    50: '#a899e9',
    500: '#7e70df',
    950: '#000000',
  },
}
SCSS
$custom: #7e70df;
$custom-light: #a899e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e70df",
  "rgb": {
    "r": 126,
    "g": 112,
    "b": 223
  },
  "hsl": {
    "h": 247.568,
    "s": 63.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61085,
    "c": 0.16293,
    "h": 286.3
  },
  "luminance": 0.21352
}

Semantic roles & 50–950 ramp

primary
#7E70DF
secondary
#E3E8C3
accent
#CB1AB5
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7E70DF

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

Preview Lab → · Contrast checker → · Palette generator →

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