#7970DA#7970DA

#7970DA is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.4% C 0.157 H 284.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7970DA
RGBrgb(121, 112, 218)
HSLhsl(245, 59%, 65%)
HSVhsv(245, 49%, 85%)
CMYKcmyk(44.5%, 48.6%, 0%, 14.5%)
CIE-LABlab(52.64, 30.10, -53.39)
CIE-LCHlch(52.64, 61.29, 299.42°)
OKLaboklab(60.37% 0.0393 -0.1516)
OKLCHoklch(60.37% 0.157 284.5)
XYZxyz(26.3305, 20.7141, 68.9269)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7970DA #D1DA70
analogous
#709CDA #7970DA #AE70DA
triadic
#7970DA #DA7970 #70DA79
tetradic
#7970DA #DA709C #D1DA70 #70DAAE
square
#7970DA #DA709C #D1DA70 #70DAAE
split-complementary
#7970DA #DAAE70 #9CDA70
monochromatic
#352BA5 #4B3FCD #7970DA #A7A1E7 #D4D1F3

Accessibility & contrast

On white

4.08
#7970DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#7970DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7970DA
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7970DA#FFFFFF#000000##000000
##7970DA1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4381DE
Deuteranopia (green-blind)
#3F7AD8
Tritanopia (blue-blind)
#5A869B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7970da;
/* rgb */ color: rgb(121, 112, 218);
/* oklch */ color: oklch(60.4% 0.157 284.5);
Tailwind
colors: {
  custom: {
    50: '#a599e6',
    500: '#7970da',
    950: '#000000',
  },
}
SCSS
$custom: #7970da;
$custom-light: #a599e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7970da",
  "rgb": {
    "r": 121,
    "g": 112,
    "b": 218
  },
  "hsl": {
    "h": 245.094,
    "s": 58.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60368,
    "c": 0.15658,
    "h": 284.5
  },
  "luminance": 0.20715
}

Semantic roles & 50–950 ramp

primary
#7970DA
secondary
#E2E5C1
accent
#C71FB8
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7970DA

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

Preview Lab → · Contrast checker → · Palette generator →

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