#7970EA#7970EA

#7970EA is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.4% C 0.178 H 283.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7970EA
RGBrgb(121, 112, 234)
HSLhsl(244, 74%, 68%)
HSVhsv(244, 52%, 92%)
CMYKcmyk(48.3%, 52.1%, 0%, 8.2%)
CIE-LABlab(53.59, 34.80, -60.85)
CIE-LCHlch(53.59, 70.10, 299.76°)
OKLaboklab(61.39% 0.0405 -0.1735)
OKLCHoklch(61.39% 0.178 283.1)
XYZxyz(28.5262, 21.5924, 80.4906)
Luminance0.2159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7970EA #E1EA70
analogous
#70A4EA #7970EA #B670EA
triadic
#7970EA #EA7970 #70EA79
tetradic
#7970EA #EA70A4 #E1EA70 #70EAB6
square
#7970EA #EA70A4 #E1EA70 #70EAB6
split-complementary
#7970EA #EAB670 #A4EA70
monochromatic
#291DC3 #473BE2 #7970EA #ABA5F2 #DDDBFA

Accessibility & contrast

On white

3.95
#7970EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#7970EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7970EA
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7970EA#FFFFFF#000000##000000
##7970EA1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3184EE
Deuteranopia (green-blind)
#297CE7
Tritanopia (blue-blind)
#508BA2
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7970ea;
/* rgb */ color: rgb(121, 112, 234);
/* oklch */ color: oklch(61.4% 0.178 283.1);
Tailwind
colors: {
  custom: {
    50: '#a799f1',
    500: '#7970ea',
    950: '#000000',
  },
}
SCSS
$custom: #7970ea;
$custom-light: #a799f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7970ea",
  "rgb": {
    "r": 121,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 244.426,
    "s": 74.39,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61393,
    "c": 0.17816,
    "h": 283.1
  },
  "luminance": 0.21594
}

Semantic roles & 50–950 ramp

primary
#7970EA
secondary
#EBEEC8
accent
#D70FC8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7970EA

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

Preview Lab → · Contrast checker → · Palette generator →

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