#7970E8#7970E8

#7970E8 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.3% C 0.175 H 283.3°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7970E8
RGBrgb(121, 112, 232)
HSLhsl(245, 72%, 67%)
HSVhsv(245, 52%, 91%)
CMYKcmyk(47.8%, 51.7%, 0%, 9%)
CIE-LABlab(53.47, 34.21, -59.93)
CIE-LCHlch(53.47, 69.01, 299.72°)
OKLaboklab(61.26% 0.0404 -0.1708)
OKLCHoklch(61.26% 0.175 283.3)
XYZxyz(28.2405, 21.4781, 78.9859)
Luminance0.2148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7970E8 #DFE870
analogous
#70A3E8 #7970E8 #B570E8
triadic
#7970E8 #E87970 #70E879
tetradic
#7970E8 #E870A3 #DFE870 #70E8B5
square
#7970E8 #E870A3 #DFE870 #70E8B5
split-complementary
#7970E8 #E8B570 #A3E870
monochromatic
#2B1FBF #483BE0 #7970E8 #AAA5F0 #DCD9F9

Accessibility & contrast

On white

3.97
#7970E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#7970E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7970E8
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7970E8#FFFFFF#000000##000000
##7970E81.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3484EC
Deuteranopia (green-blind)
#2D7CE5
Tritanopia (blue-blind)
#528AA1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7970e8;
/* rgb */ color: rgb(121, 112, 232);
/* oklch */ color: oklch(61.3% 0.175 283.3);
Tailwind
colors: {
  custom: {
    50: '#a699f0',
    500: '#7970e8',
    950: '#000000',
  },
}
SCSS
$custom: #7970e8;
$custom-light: #a699f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7970e8",
  "rgb": {
    "r": 121,
    "g": 112,
    "b": 232
  },
  "hsl": {
    "h": 244.5,
    "s": 72.289,
    "l": 67.451
  },
  "oklch": {
    "l": 0.61262,
    "c": 0.17549,
    "h": 283.3
  },
  "luminance": 0.21479
}

Semantic roles & 50–950 ramp

primary
#7970E8
secondary
#EAEDC7
accent
#D411C6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7970E8

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

Preview Lab → · Contrast checker → · Palette generator →

#7970E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva