#7970F1#7970F1

#7970F1 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.9% C 0.187 H 282.6°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7970F1
RGBrgb(121, 112, 241)
HSLhsl(244, 82%, 69%)
HSVhsv(244, 54%, 95%)
CMYKcmyk(49.8%, 53.5%, 0%, 5.5%)
CIE-LABlab(54.03, 36.88, -64.06)
CIE-LCHlch(54.03, 73.91, 299.93°)
OKLaboklab(61.86% 0.0408 -0.1829)
OKLCHoklch(61.86% 0.187 282.6)
XYZxyz(29.5517, 22.0026, 85.8918)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7970F1 #E8F170
analogous
#70A8F1 #7970F1 #BA70F1
triadic
#7970F1 #F17970 #70F179
tetradic
#7970F1 #F170A8 #E8F170 #70F1BA
square
#7970F1 #F170A8 #E8F170 #70F1BA
split-complementary
#7970F1 #F1BA70 #A8F170
monochromatic
#2215D2 #4538EC #7970F1 #ADA8F6 #E1DFFC

Accessibility & contrast

On white

3.89
#7970F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#7970F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7970F1
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7970F1#FFFFFF#000000##000000
##7970F11.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2686F5
Deuteranopia (green-blind)
#187DEE
Tritanopia (blue-blind)
#4B8DA6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7970f1;
/* rgb */ color: rgb(121, 112, 241);
/* oklch */ color: oklch(61.9% 0.187 282.6);
Tailwind
colors: {
  custom: {
    50: '#a799f6',
    500: '#7970f1',
    950: '#000000',
  },
}
SCSS
$custom: #7970f1;
$custom-light: #a799f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7970f1",
  "rgb": {
    "r": 121,
    "g": 112,
    "b": 241
  },
  "hsl": {
    "h": 244.186,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6186,
    "c": 0.18741,
    "h": 282.6
  },
  "luminance": 0.22004
}

Semantic roles & 50–950 ramp

primary
#7970F1
secondary
#EFF1CC
accent
#DF07D0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7970F1

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

Preview Lab → · Contrast checker → · Palette generator →

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