#7A70EA#7A70EA

#7A70EA is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.5% C 0.178 H 283.5°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7A70EA
RGBrgb(122, 112, 234)
HSLhsl(245, 74%, 68%)
HSVhsv(245, 52%, 92%)
CMYKcmyk(47.9%, 52.1%, 0%, 8.2%)
CIE-LABlab(53.67, 35.01, -60.72)
CIE-LCHlch(53.67, 70.09, 299.97°)
OKLaboklab(61.47% 0.0417 -0.1731)
OKLCHoklch(61.47% 0.178 283.5)
XYZxyz(28.6671, 21.6650, 80.4972)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A70EA #E0EA70
analogous
#70A3EA #7A70EA #B770EA
triadic
#7A70EA #EA7A70 #70EA7A
tetradic
#7A70EA #EA70A3 #E0EA70 #70EAB7
square
#7A70EA #EA70A3 #E0EA70 #70EAB7
split-complementary
#7A70EA #EAB770 #A3EA70
monochromatic
#2A1DC3 #483BE2 #7A70EA #ACA5F2 #DDDBFA

Accessibility & contrast

On white

3.94
#7A70EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#7A70EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A70EA
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A70EA#FFFFFF#000000##000000
##7A70EA1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3284EE
Deuteranopia (green-blind)
#2A7CE7
Tritanopia (blue-blind)
#528BA2
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7a70ea;
/* rgb */ color: rgb(122, 112, 234);
/* oklch */ color: oklch(61.5% 0.178 283.5);
Tailwind
colors: {
  custom: {
    50: '#a799f1',
    500: '#7a70ea',
    950: '#000000',
  },
}
SCSS
$custom: #7a70ea;
$custom-light: #a799f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a70ea",
  "rgb": {
    "r": 122,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 244.918,
    "s": 74.39,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61471,
    "c": 0.17804,
    "h": 283.5
  },
  "luminance": 0.21666
}

Semantic roles & 50–950 ramp

primary
#7A70EA
secondary
#EBEEC8
accent
#D70FC6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7A70EA

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

Preview Lab → · Contrast checker → · Palette generator →

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