#7970EE#7970EE

#7970EE is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.7% C 0.183 H 282.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7970EE
RGBrgb(121, 112, 238)
HSLhsl(244, 79%, 69%)
HSVhsv(244, 53%, 93%)
CMYKcmyk(49.2%, 52.9%, 0%, 6.7%)
CIE-LABlab(53.84, 35.98, -62.69)
CIE-LCHlch(53.84, 72.28, 299.86°)
OKLaboklab(61.66% 0.0407 -0.1789)
OKLCHoklch(61.66% 0.183 282.8)
XYZxyz(29.1073, 21.8248, 83.5512)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7970EE #E5EE70
analogous
#70A6EE #7970EE #B870EE
triadic
#7970EE #EE7970 #70EE79
tetradic
#7970EE #EE70A6 #E5EE70 #70EEB8
square
#7970EE #EE70A6 #E5EE70 #70EEB8
split-complementary
#7970EE #EEB870 #A6EE70
monochromatic
#2518CB #4639E7 #7970EE #ACA7F5 #E0DDFB

Accessibility & contrast

On white

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

On black

5.37
#7970EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7970EE
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7970EE#FFFFFF#000000##000000
##7970EE1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B85F2
Deuteranopia (green-blind)
#207CEB
Tritanopia (blue-blind)
#4D8CA4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7970ee;
/* rgb */ color: rgb(121, 112, 238);
/* oklch */ color: oklch(61.7% 0.183 282.8);
Tailwind
colors: {
  custom: {
    50: '#a799f4',
    500: '#7970ee',
    950: '#000000',
  },
}
SCSS
$custom: #7970ee;
$custom-light: #a799f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7970ee",
  "rgb": {
    "r": 121,
    "g": 112,
    "b": 238
  },
  "hsl": {
    "h": 244.286,
    "s": 78.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.61659,
    "c": 0.18346,
    "h": 282.8
  },
  "luminance": 0.21826
}

Semantic roles & 50–950 ramp

primary
#7970EE
secondary
#EDF0CA
accent
#DB0ACC
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7970EE

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

Preview Lab → · Contrast checker → · Palette generator →

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