#7A70EC#7A70EC

#7A70EC is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.6% C 0.181 H 283.4°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7A70EC
RGBrgb(122, 112, 236)
HSLhsl(245, 77%, 68%)
HSVhsv(245, 53%, 93%)
CMYKcmyk(48.3%, 52.5%, 0%, 7.5%)
CIE-LABlab(53.79, 35.60, -61.64)
CIE-LCHlch(53.79, 71.19, 300.01°)
OKLaboklab(61.6% 0.0418 -0.1758)
OKLCHoklch(61.6% 0.181 283.4)
XYZxyz(28.9560, 21.7806, 82.0189)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A70EC #E2EC70
analogous
#70A4EC #7A70EC #B870EC
triadic
#7A70EC #EC7A70 #70EC7A
tetradic
#7A70EC #EC70A4 #E2EC70 #70ECB8
square
#7A70EC #EC70A4 #E2EC70 #70ECB8
split-complementary
#7A70EC #ECB870 #A4EC70
monochromatic
#281AC7 #483AE5 #7A70EC #ACA6F3 #DEDCFA

Accessibility & contrast

On white

3.92
#7A70EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#7A70EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A70EC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A70EC#FFFFFF#000000##000000
##7A70EC1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F85F0
Deuteranopia (green-blind)
#267CE9
Tritanopia (blue-blind)
#518BA3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7a70ec;
/* rgb */ color: rgb(122, 112, 236);
/* oklch */ color: oklch(61.6% 0.181 283.4);
Tailwind
colors: {
  custom: {
    50: '#a799f3',
    500: '#7a70ec',
    950: '#000000',
  },
}
SCSS
$custom: #7a70ec;
$custom-light: #a799f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a70ec",
  "rgb": {
    "r": 122,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 244.839,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61603,
    "c": 0.18069,
    "h": 283.4
  },
  "luminance": 0.21782
}

Semantic roles & 50–950 ramp

primary
#7A70EC
secondary
#ECEFC9
accent
#D90DC8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7A70EC

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

Preview Lab → · Contrast checker → · Palette generator →

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