#7D70EA#7D70EA

#7D70EA is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.7% C 0.178 H 284.8°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7D70EA
RGBrgb(125, 112, 234)
HSLhsl(246, 74%, 68%)
HSVhsv(246, 52%, 92%)
CMYKcmyk(46.6%, 52.1%, 0%, 8.2%)
CIE-LABlab(53.91, 35.66, -60.33)
CIE-LCHlch(53.91, 70.08, 300.59°)
OKLaboklab(61.71% 0.0453 -0.1718)
OKLCHoklch(61.71% 0.178 284.8)
XYZxyz(29.0985, 21.8875, 80.5174)
Luminance0.2189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D70EA #DDEA70
analogous
#70A0EA #7D70EA #BA70EA
triadic
#7D70EA #EA7D70 #70EA7D
tetradic
#7D70EA #EA70A0 #DDEA70 #70EABA
square
#7D70EA #EA70A0 #DDEA70 #70EABA
split-complementary
#7D70EA #EABA70 #A0EA70
monochromatic
#2E1DC3 #4C3BE2 #7D70EA #AEA5F2 #DEDBFA

Accessibility & contrast

On white

3.90
#7D70EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#7D70EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D70EA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D70EA#FFFFFF#000000##000000
##7D70EA1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3384EE
Deuteranopia (green-blind)
#2E7DE7
Tritanopia (blue-blind)
#588BA2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7d70ea;
/* rgb */ color: rgb(125, 112, 234);
/* oklch */ color: oklch(61.7% 0.178 284.8);
Tailwind
colors: {
  custom: {
    50: '#a999f1',
    500: '#7d70ea',
    950: '#000000',
  },
}
SCSS
$custom: #7d70ea;
$custom-light: #a999f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d70ea",
  "rgb": {
    "r": 125,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 246.393,
    "s": 74.39,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61707,
    "c": 0.17771,
    "h": 284.8
  },
  "luminance": 0.21889
}

Semantic roles & 50–950 ramp

primary
#7D70EA
secondary
#EAEEC8
accent
#D70FC1
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7D70EA

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

Preview Lab → · Contrast checker → · Palette generator →

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