#7D70EC#7D70EC

#7D70EC is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.8% C 0.180 H 284.6°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7D70EC
RGBrgb(125, 112, 236)
HSLhsl(246, 77%, 68%)
HSVhsv(246, 53%, 93%)
CMYKcmyk(47%, 52.5%, 0%, 7.5%)
CIE-LABlab(54.03, 36.24, -61.25)
CIE-LCHlch(54.03, 71.17, 300.62°)
OKLaboklab(61.84% 0.0454 -0.1745)
OKLCHoklch(61.84% 0.18 284.6)
XYZxyz(29.3875, 22.0031, 82.0392)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D70EC #DFEC70
analogous
#70A1EC #7D70EC #BB70EC
triadic
#7D70EC #EC7D70 #70EC7D
tetradic
#7D70EC #EC70A1 #DFEC70 #70ECBB
square
#7D70EC #EC70A1 #DFEC70 #70ECBB
split-complementary
#7D70EC #ECBB70 #A1EC70
monochromatic
#2D1AC7 #4C3AE5 #7D70EC #AEA6F3 #DFDCFA

Accessibility & contrast

On white

3.89
#7D70EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#7D70EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D70EC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D70EC#FFFFFF#000000##000000
##7D70EC1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3085F0
Deuteranopia (green-blind)
#2A7DE9
Tritanopia (blue-blind)
#578BA3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7d70ec;
/* rgb */ color: rgb(125, 112, 236);
/* oklch */ color: oklch(61.8% 0.180 284.6);
Tailwind
colors: {
  custom: {
    50: '#a999f3',
    500: '#7d70ec',
    950: '#000000',
  },
}
SCSS
$custom: #7d70ec;
$custom-light: #a999f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d70ec",
  "rgb": {
    "r": 125,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 246.29,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61838,
    "c": 0.18035,
    "h": 284.6
  },
  "luminance": 0.22004
}

Semantic roles & 50–950 ramp

primary
#7D70EC
secondary
#EBEFC9
accent
#D90DC3
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7D70EC

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

Preview Lab → · Contrast checker → · Palette generator →

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