#7A70EB#7A70EB

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

Color values

HEX#7A70EB
RGBrgb(122, 112, 235)
HSLhsl(245, 75%, 68%)
HSVhsv(245, 52%, 92%)
CMYKcmyk(48.1%, 52.3%, 0%, 7.8%)
CIE-LABlab(53.73, 35.31, -61.18)
CIE-LCHlch(53.73, 70.64, 299.99°)
OKLaboklab(61.54% 0.0418 -0.1744)
OKLCHoklch(61.54% 0.179 283.5)
XYZxyz(28.8111, 21.7226, 81.2559)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A70EB #E1EB70
analogous
#70A3EB #7A70EB #B770EB
triadic
#7A70EB #EB7A70 #70EB7A
tetradic
#7A70EB #EB70A3 #E1EB70 #70EBB7
square
#7A70EB #EB70A3 #E1EB70 #70EBB7
split-complementary
#7A70EB #EBB770 #A3EB70
monochromatic
#291CC5 #483AE3 #7A70EB #ACA6F3 #DEDBFA

Accessibility & contrast

On white

3.93
#7A70EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#7A70EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A70EB
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A70EB#FFFFFF#000000##000000
##7A70EB1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3084EF
Deuteranopia (green-blind)
#287CE8
Tritanopia (blue-blind)
#528BA3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7a70eb;
/* rgb */ color: rgb(122, 112, 235);
/* oklch */ color: oklch(61.5% 0.179 283.5);
Tailwind
colors: {
  custom: {
    50: '#a799f2',
    500: '#7a70eb',
    950: '#000000',
  },
}
SCSS
$custom: #7a70eb;
$custom-light: #a799f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a70eb",
  "rgb": {
    "r": 122,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 244.878,
    "s": 75.46,
    "l": 68.039
  },
  "oklch": {
    "l": 0.61537,
    "c": 0.17937,
    "h": 283.5
  },
  "luminance": 0.21724
}

Semantic roles & 50–950 ramp

primary
#7A70EB
secondary
#EBEEC9
accent
#D80EC7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7A70EB

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

Preview Lab → · Contrast checker → · Palette generator →

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