#7970EF#7970EF

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

Color values

HEX#7970EF
RGBrgb(121, 112, 239)
HSLhsl(244, 80%, 69%)
HSVhsv(244, 53%, 94%)
CMYKcmyk(49.4%, 53.1%, 0%, 6.3%)
CIE-LABlab(53.90, 36.28, -63.14)
CIE-LCHlch(53.90, 72.83, 299.88°)
OKLaboklab(61.72% 0.0408 -0.1802)
OKLCHoklch(61.72% 0.185 282.7)
XYZxyz(29.2546, 21.8837, 84.3271)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7970EF #E6EF70
analogous
#70A7EF #7970EF #B970EF
triadic
#7970EF #EF7970 #70EF79
tetradic
#7970EF #EF70A7 #E6EF70 #70EFB9
square
#7970EF #EF70A7 #E6EF70 #70EFB9
split-complementary
#7970EF #EFB970 #A7EF70
monochromatic
#2417CE #4539E9 #7970EF #ADA7F5 #E0DEFB

Accessibility & contrast

On white

3.91
#7970EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#7970EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7970EF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7970EF#FFFFFF#000000##000000
##7970EF1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A85F3
Deuteranopia (green-blind)
#1E7DEC
Tritanopia (blue-blind)
#4D8CA5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7970ef;
/* rgb */ color: rgb(121, 112, 239);
/* oklch */ color: oklch(61.7% 0.185 282.7);
Tailwind
colors: {
  custom: {
    50: '#a799f5',
    500: '#7970ef',
    950: '#000000',
  },
}
SCSS
$custom: #7970ef;
$custom-light: #a799f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7970ef",
  "rgb": {
    "r": 121,
    "g": 112,
    "b": 239
  },
  "hsl": {
    "h": 244.252,
    "s": 79.874,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61725,
    "c": 0.18478,
    "h": 282.7
  },
  "luminance": 0.21885
}

Semantic roles & 50–950 ramp

primary
#7970EF
secondary
#EEF0CB
accent
#DC09CD
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7970EF

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

Preview Lab → · Contrast checker → · Palette generator →

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