#7970DD#7970DD

#7970DD is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.6% C 0.161 H 284.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7970DD
RGBrgb(121, 112, 221)
HSLhsl(245, 62%, 65%)
HSVhsv(245, 49%, 87%)
CMYKcmyk(45.2%, 49.3%, 0%, 13.3%)
CIE-LABlab(52.81, 30.98, -54.81)
CIE-LCHlch(52.81, 62.95, 299.48°)
OKLaboklab(60.56% 0.0396 -0.1557)
OKLCHoklch(60.56% 0.161 284.3)
XYZxyz(26.7266, 20.8726, 71.0132)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7970DD #D4DD70
analogous
#709DDD #7970DD #AF70DD
triadic
#7970DD #DD7970 #70DD79
tetradic
#7970DD #DD709D #D4DD70 #70DDAF
square
#7970DD #DD709D #D4DD70 #70DDAF
split-complementary
#7970DD #DDAF70 #9DDD70
monochromatic
#3328AA #4B3FD1 #7970DD #A7A1E9 #D6D3F5

Accessibility & contrast

On white

4.06
#7970DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#7970DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7970DD
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7970DD#FFFFFF#000000##000000
##7970DD1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4081E1
Deuteranopia (green-blind)
#3C7BDB
Tritanopia (blue-blind)
#58879C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7970dd;
/* rgb */ color: rgb(121, 112, 221);
/* oklch */ color: oklch(60.6% 0.161 284.3);
Tailwind
colors: {
  custom: {
    50: '#a599e8',
    500: '#7970dd',
    950: '#000000',
  },
}
SCSS
$custom: #7970dd;
$custom-light: #a599e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7970dd",
  "rgb": {
    "r": 121,
    "g": 112,
    "b": 221
  },
  "hsl": {
    "h": 244.954,
    "s": 61.582,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60556,
    "c": 0.16067,
    "h": 284.3
  },
  "luminance": 0.20874
}

Semantic roles & 50–950 ramp

primary
#7970DD
secondary
#E4E7C2
accent
#C91CBB
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7970DD

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

Preview Lab → · Contrast checker → · Palette generator →

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