#7E70DB#7E70DB

#7E70DB is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.8% C 0.158 H 286.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7E70DB
RGBrgb(126, 112, 219)
HSLhsl(248, 60%, 65%)
HSVhsv(248, 49%, 86%)
CMYKcmyk(42.5%, 48.9%, 0%, 14.1%)
CIE-LABlab(53.10, 31.57, -53.19)
CIE-LCHlch(53.10, 61.86, 300.69°)
OKLaboklab(60.84% 0.0453 -0.1509)
OKLCHoklch(60.84% 0.158 286.7)
XYZxyz(27.1809, 21.1374, 69.6519)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E70DB #CDDB70
analogous
#7098DB #7E70DB #B370DB
triadic
#7E70DB #DB7E70 #70DB7E
tetradic
#7E70DB #DB7098 #CDDB70 #70DBB3
square
#7E70DB #DB7098 #CDDB70 #70DBB3
split-complementary
#7E70DB #DBB370 #98DB70
monochromatic
#3A2AA7 #523FCF #7E70DB #AAA1E7 #D6D2F4

Accessibility & contrast

On white

4.02
#7E70DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#7E70DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E70DB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E70DB#FFFFFF#000000##000000
##7E70DB1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4482DF
Deuteranopia (green-blind)
#427CD9
Tritanopia (blue-blind)
#62869B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7e70db;
/* rgb */ color: rgb(126, 112, 219);
/* oklch */ color: oklch(60.8% 0.158 286.7);
Tailwind
colors: {
  custom: {
    50: '#a899e7',
    500: '#7e70db',
    950: '#000000',
  },
}
SCSS
$custom: #7e70db;
$custom-light: #a899e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e70db",
  "rgb": {
    "r": 126,
    "g": 112,
    "b": 219
  },
  "hsl": {
    "h": 247.85,
    "s": 59.777,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60836,
    "c": 0.15752,
    "h": 286.7
  },
  "luminance": 0.21138
}

Semantic roles & 50–950 ramp

primary
#7E70DB
secondary
#E1E6C1
accent
#C71EB1
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7E70DB

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

Preview Lab → · Contrast checker → · Palette generator →

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