#7970BB#7970BB

#7970BB is a mid, moderate blue. Relative luminance 0.192; OKLCH L 58.6% C 0.113 H 287.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7970BB
RGBrgb(121, 112, 187)
HSLhsl(247, 36%, 59%)
HSVhsv(247, 40%, 73%)
CMYKcmyk(35.3%, 40.1%, 0%, 26.7%)
CIE-LABlab(50.97, 21.32, -38.35)
CIE-LCHlch(50.97, 43.88, 299.07°)
OKLaboklab(58.56% 0.0347 -0.1076)
OKLCHoklch(58.56% 0.113 287.9)
XYZxyz(22.6466, 19.2405, 49.5247)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7970BB #B2BB70
analogous
#708CBB #7970BB #9E70BB
triadic
#7970BB #BB7970 #70BB79
tetradic
#7970BB #BB708C #B2BB70 #70BB9E
square
#7970BB #BB708C #B2BB70 #70BB9E
split-complementary
#7970BB #BB9E70 #8CBB70
monochromatic
#403978 #574DA1 #7970BB #A099CF #C7C3E2

Accessibility & contrast

On white

4.33
#7970BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#7970BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7970BB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7970BB#FFFFFF#000000##000000
##7970BB1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#587BBE
Deuteranopia (green-blind)
#5777B9
Tritanopia (blue-blind)
#687E8C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7970bb;
/* rgb */ color: rgb(121, 112, 187);
/* oklch */ color: oklch(58.6% 0.113 287.9);
Tailwind
colors: {
  custom: {
    50: '#a299d0',
    500: '#7970bb',
    950: '#000000',
  },
}
SCSS
$custom: #7970bb;
$custom-light: #a299d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7970bb",
  "rgb": {
    "r": 121,
    "g": 112,
    "b": 187
  },
  "hsl": {
    "h": 247.2,
    "s": 35.545,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58564,
    "c": 0.11306,
    "h": 287.9
  },
  "luminance": 0.19241
}

Semantic roles & 50–950 ramp

primary
#7970BB
secondary
#CFD2B5
accent
#CC5CBE
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #7970BB

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

Preview Lab → · Contrast checker → · Palette generator →

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