#7970FB#7970FB

#7970FB is a light, highly saturated blue. Relative luminance 0.226; OKLCH L 62.5% C 0.200 H 281.8°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#7970FB
RGBrgb(121, 112, 251)
HSLhsl(244, 95%, 71%)
HSVhsv(244, 55%, 98%)
CMYKcmyk(51.8%, 55.4%, 0%, 1.6%)
CIE-LABlab(54.68, 39.86, -68.57)
CIE-LCHlch(54.68, 79.31, 300.17°)
OKLaboklab(62.54% 0.0411 -0.1962)
OKLCHoklch(62.54% 0.2 281.8)
XYZxyz(31.0866, 22.6165, 93.9755)
Luminance0.2262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7970FB #F2FB70
analogous
#70ACFB #7970FB #BE70FB
triadic
#7970FB #FB7970 #70FB79
tetradic
#7970FB #FB70AC #F2FB70 #70FBBE
square
#7970FB #FB70AC #F2FB70 #70FBBE
split-complementary
#7970FB #FBBE70 #ACFB70
monochromatic
#1507EA #4134F9 #7970FB #B1ACFD #E3E1FE

Accessibility & contrast

On white

3.80
#7970FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#7970FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7970FB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7970FB#FFFFFF#000000##000000
##7970FB1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0788FF
Deuteranopia (green-blind)
#007EF8
Tritanopia (blue-blind)
#4290AB
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7970fb;
/* rgb */ color: rgb(121, 112, 251);
/* oklch */ color: oklch(62.5% 0.200 281.8);
Tailwind
colors: {
  custom: {
    50: '#a999fd',
    500: '#7970fb',
    950: '#000000',
  },
}
SCSS
$custom: #7970fb;
$custom-light: #a999fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7970fb",
  "rgb": {
    "r": 121,
    "g": 112,
    "b": 251
  },
  "hsl": {
    "h": 243.885,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.62545,
    "c": 0.20043,
    "h": 281.8
  },
  "luminance": 0.22618
}

Semantic roles & 50–950 ramp

primary
#7970FB
secondary
#F3F6D1
accent
#E600D7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7970FB

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

Preview Lab → · Contrast checker → · Palette generator →

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