#7970DC#7970DC

#7970DC is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.5% C 0.159 H 284.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7970DC
RGBrgb(121, 112, 220)
HSLhsl(245, 61%, 65%)
HSVhsv(245, 49%, 86%)
CMYKcmyk(45%, 49.1%, 0%, 13.7%)
CIE-LABlab(52.75, 30.69, -54.33)
CIE-LCHlch(52.75, 62.40, 299.46°)
OKLaboklab(60.49% 0.0395 -0.1543)
OKLCHoklch(60.49% 0.159 284.3)
XYZxyz(26.5938, 20.8194, 70.3136)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7970DC #D3DC70
analogous
#709DDC #7970DC #AF70DC
triadic
#7970DC #DC7970 #70DC79
tetradic
#7970DC #DC709D #D3DC70 #70DCAF
square
#7970DC #DC709D #D3DC70 #70DCAF
split-complementary
#7970DC #DCAF70 #9DDC70
monochromatic
#3429A8 #4B3FD0 #7970DC #A7A1E8 #D5D2F4

Accessibility & contrast

On white

4.07
#7970DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#7970DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7970DC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7970DC#FFFFFF#000000##000000
##7970DC1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4181E0
Deuteranopia (green-blind)
#3D7BDA
Tritanopia (blue-blind)
#59879C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7970dc;
/* rgb */ color: rgb(121, 112, 220);
/* oklch */ color: oklch(60.5% 0.159 284.3);
Tailwind
colors: {
  custom: {
    50: '#a599e7',
    500: '#7970dc',
    950: '#000000',
  },
}
SCSS
$custom: #7970dc;
$custom-light: #a599e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7970dc",
  "rgb": {
    "r": 121,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 245,
    "s": 60.674,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60493,
    "c": 0.15931,
    "h": 284.3
  },
  "luminance": 0.20821
}

Semantic roles & 50–950 ramp

primary
#7970DC
secondary
#E3E6C2
accent
#C81DBA
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7970DC

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

Preview Lab → · Contrast checker → · Palette generator →

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