#7A70EE#7A70EE

#7A70EE is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.7% C 0.183 H 283.2°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7A70EE
RGBrgb(122, 112, 238)
HSLhsl(245, 79%, 69%)
HSVhsv(245, 53%, 93%)
CMYKcmyk(48.7%, 52.9%, 0%, 6.7%)
CIE-LABlab(53.92, 36.19, -62.56)
CIE-LCHlch(53.92, 72.27, 300.05°)
OKLaboklab(61.74% 0.0419 -0.1785)
OKLCHoklch(61.74% 0.183 283.2)
XYZxyz(29.2482, 21.8975, 83.5578)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A70EE #E4EE70
analogous
#70A5EE #7A70EE #B970EE
triadic
#7A70EE #EE7A70 #70EE7A
tetradic
#7A70EE #EE70A5 #E4EE70 #70EEB9
square
#7A70EE #EE70A5 #E4EE70 #70EEB9
split-complementary
#7A70EE #EEB970 #A5EE70
monochromatic
#2618CB #4739E7 #7A70EE #ADA7F5 #E0DDFB

Accessibility & contrast

On white

3.90
#7A70EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#7A70EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A70EE
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A70EE#FFFFFF#000000##000000
##7A70EE1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C85F2
Deuteranopia (green-blind)
#227DEB
Tritanopia (blue-blind)
#4F8CA4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7a70ee;
/* rgb */ color: rgb(122, 112, 238);
/* oklch */ color: oklch(61.7% 0.183 283.2);
Tailwind
colors: {
  custom: {
    50: '#a899f4',
    500: '#7a70ee',
    950: '#000000',
  },
}
SCSS
$custom: #7a70ee;
$custom-light: #a899f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a70ee",
  "rgb": {
    "r": 122,
    "g": 112,
    "b": 238
  },
  "hsl": {
    "h": 244.762,
    "s": 78.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.61736,
    "c": 0.18333,
    "h": 283.2
  },
  "luminance": 0.21899
}

Semantic roles & 50–950 ramp

primary
#7A70EE
secondary
#EDF0CA
accent
#DB0ACA
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7A70EE

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

Preview Lab → · Contrast checker → · Palette generator →

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