#7A70E5#7A70E5

#7A70E5 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 61.1% C 0.171 H 284.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7A70E5
RGBrgb(122, 112, 229)
HSLhsl(245, 69%, 67%)
HSVhsv(245, 51%, 90%)
CMYKcmyk(46.7%, 51.1%, 0%, 10.2%)
CIE-LABlab(53.36, 33.54, -58.41)
CIE-LCHlch(53.36, 67.36, 299.87°)
OKLaboklab(61.15% 0.0414 -0.1663)
OKLCHoklch(61.15% 0.171 284)
XYZxyz(27.9589, 21.3817, 76.7675)
Luminance0.2138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A70E5 #DBE570
analogous
#70A1E5 #7A70E5 #B570E5
triadic
#7A70E5 #E57A70 #70E57A
tetradic
#7A70E5 #E570A1 #DBE570 #70E5B5
square
#7A70E5 #E570A1 #DBE570 #70E5B5
split-complementary
#7A70E5 #E5B570 #A1E570
monochromatic
#2F22B9 #4A3CDC #7A70E5 #AAA4EE #DAD8F8

Accessibility & contrast

On white

3.98
#7A70E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#7A70E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A70E5
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A70E5#FFFFFF#000000##000000
##7A70E51.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3883E9
Deuteranopia (green-blind)
#327CE2
Tritanopia (blue-blind)
#5589A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7a70e5;
/* rgb */ color: rgb(122, 112, 229);
/* oklch */ color: oklch(61.1% 0.171 284.0);
Tailwind
colors: {
  custom: {
    50: '#a799ee',
    500: '#7a70e5',
    950: '#000000',
  },
}
SCSS
$custom: #7a70e5;
$custom-light: #a799ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7a70e5",
  "rgb": {
    "r": 122,
    "g": 112,
    "b": 229
  },
  "hsl": {
    "h": 245.128,
    "s": 69.231,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61145,
    "c": 0.17136,
    "h": 284
  },
  "luminance": 0.21383
}

Semantic roles & 50–950 ramp

primary
#7A70E5
secondary
#E8EBC6
accent
#D114C1
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7A70E5

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

Preview Lab → · Contrast checker → · Palette generator →

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