#7E70DA#7E70DA

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

Color values

HEX#7E70DA
RGBrgb(126, 112, 218)
HSLhsl(248, 59%, 65%)
HSVhsv(248, 49%, 85%)
CMYKcmyk(42.2%, 48.6%, 0%, 14.5%)
CIE-LABlab(53.04, 31.29, -52.72)
CIE-LCHlch(53.04, 61.30, 300.69°)
OKLaboklab(60.78% 0.0452 -0.1495)
OKLCHoklch(60.78% 0.156 286.8)
XYZxyz(27.0497, 21.0849, 68.9606)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E70DA #CCDA70
analogous
#7097DA #7E70DA #B370DA
triadic
#7E70DA #DA7E70 #70DA7E
tetradic
#7E70DA #DA7097 #CCDA70 #70DAB3
square
#7E70DA #DA7097 #CCDA70 #70DAB3
split-complementary
#7E70DA #DAB370 #97DA70
monochromatic
#3B2BA5 #523FCD #7E70DA #AAA1E7 #D6D1F3

Accessibility & contrast

On white

4.03
#7E70DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#7E70DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E70DA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E70DA#FFFFFF#000000##000000
##7E70DA1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4581DE
Deuteranopia (green-blind)
#437CD8
Tritanopia (blue-blind)
#63869B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7e70da;
/* rgb */ color: rgb(126, 112, 218);
/* oklch */ color: oklch(60.8% 0.156 286.8);
Tailwind
colors: {
  custom: {
    50: '#a899e6',
    500: '#7e70da',
    950: '#000000',
  },
}
SCSS
$custom: #7e70da;
$custom-light: #a899e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e70da",
  "rgb": {
    "r": 126,
    "g": 112,
    "b": 218
  },
  "hsl": {
    "h": 247.925,
    "s": 58.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60775,
    "c": 0.15617,
    "h": 286.8
  },
  "luminance": 0.21086
}

Semantic roles & 50–950 ramp

primary
#7E70DA
secondary
#E0E5C1
accent
#C71FB0
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7E70DA

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

Preview Lab → · Contrast checker → · Palette generator →

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