#7E70CE#7E70CE

#7E70CE is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.1% C 0.140 H 288.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7E70CE
RGBrgb(126, 112, 206)
HSLhsl(249, 49%, 62%)
HSVhsv(249, 46%, 81%)
CMYKcmyk(38.8%, 45.6%, 0%, 19.2%)
CIE-LABlab(52.38, 27.91, -46.98)
CIE-LCHlch(52.38, 54.64, 300.72°)
OKLaboklab(60.06% 0.0438 -0.1326)
OKLCHoklch(60.06% 0.14 288.3)
XYZxyz(25.5359, 20.4794, 60.9880)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E70CE #C0CE70
analogous
#7091CE #7E70CE #AD70CE
triadic
#7E70CE #CE7E70 #70CE7E
tetradic
#7E70CE #CE7091 #C0CE70 #70CEAD
square
#7E70CE #CE7091 #C0CE70 #70CEAD
split-complementary
#7E70CE #CEAD70 #91CE70
monochromatic
#403292 #5542BE #7E70CE #A79EDE #D0CBED

Accessibility & contrast

On white

4.12
#7E70CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#7E70CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E70CE
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E70CE#FFFFFF#000000##000000
##7E70CE1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7FD1
Deuteranopia (green-blind)
#4E7BCC
Tritanopia (blue-blind)
#688395
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7e70ce;
/* rgb */ color: rgb(126, 112, 206);
/* oklch */ color: oklch(60.1% 0.140 288.3);
Tailwind
colors: {
  custom: {
    50: '#a799dd',
    500: '#7e70ce',
    950: '#000000',
  },
}
SCSS
$custom: #7e70ce;
$custom-light: #a799dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e70ce",
  "rgb": {
    "r": 126,
    "g": 112,
    "b": 206
  },
  "hsl": {
    "h": 248.936,
    "s": 48.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60056,
    "c": 0.13971,
    "h": 288.3
  },
  "luminance": 0.2048
}

Semantic roles & 50–950 ramp

primary
#7E70CE
secondary
#D9DEBC
accent
#BC29A6
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7E70CE

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

Preview Lab → · Contrast checker → · Palette generator →

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