#7970F2#7970F2

#7970F2 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.9% C 0.189 H 282.5°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7970F2
RGBrgb(121, 112, 242)
HSLhsl(244, 83%, 69%)
HSVhsv(244, 54%, 95%)
CMYKcmyk(50%, 53.7%, 0%, 5.1%)
CIE-LABlab(54.09, 37.17, -64.51)
CIE-LCHlch(54.09, 74.45, 299.95°)
OKLaboklab(61.93% 0.0409 -0.1842)
OKLCHoklch(61.93% 0.189 282.5)
XYZxyz(29.7015, 22.0625, 86.6806)
Luminance0.2206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7970F2 #E9F270
analogous
#70A8F2 #7970F2 #BA70F2
triadic
#7970F2 #F27970 #70F279
tetradic
#7970F2 #F270A8 #E9F270 #70F2BA
square
#7970F2 #F270A8 #E9F270 #70F2BA
split-complementary
#7970F2 #F2BA70 #A8F270
monochromatic
#2113D4 #4438ED #7970F2 #AEA8F7 #E2E0FC

Accessibility & contrast

On white

3.88
#7970F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#7970F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7970F2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7970F2#FFFFFF#000000##000000
##7970F21.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2486F6
Deuteranopia (green-blind)
#157DEF
Tritanopia (blue-blind)
#4A8DA6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7970f2;
/* rgb */ color: rgb(121, 112, 242);
/* oklch */ color: oklch(61.9% 0.189 282.5);
Tailwind
colors: {
  custom: {
    50: '#a899f7',
    500: '#7970f2',
    950: '#000000',
  },
}
SCSS
$custom: #7970f2;
$custom-light: #a899f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7970f2",
  "rgb": {
    "r": 121,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 244.154,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.61928,
    "c": 0.18873,
    "h": 282.5
  },
  "luminance": 0.22064
}

Semantic roles & 50–950 ramp

primary
#7970F2
secondary
#EFF2CC
accent
#E006D1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7970F2

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

Preview Lab → · Contrast checker → · Palette generator →

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