#7970CE#7970CE

#7970CE is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.6% C 0.140 H 285.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7970CE
RGBrgb(121, 112, 206)
HSLhsl(246, 49%, 62%)
HSVhsv(246, 46%, 81%)
CMYKcmyk(41.3%, 45.6%, 0%, 19.2%)
CIE-LABlab(51.96, 26.64, -47.66)
CIE-LCHlch(51.96, 54.60, 299.21°)
OKLaboklab(59.64% 0.0379 -0.1348)
OKLCHoklch(59.64% 0.14 285.7)
XYZxyz(24.8167, 20.1086, 60.9543)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7970CE #C5CE70
analogous
#7096CE #7970CE #A870CE
triadic
#7970CE #CE7970 #70CE79
tetradic
#7970CE #CE7096 #C5CE70 #70CEA8
square
#7970CE #CE7096 #C5CE70 #70CEA8
split-complementary
#7970CE #CEA870 #96CE70
monochromatic
#3B3292 #4E42BE #7970CE #A49EDE #CECBED

Accessibility & contrast

On white

4.18
#7970CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#7970CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7970CE
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7970CE#FFFFFF#000000##000000
##7970CE1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7FD1
Deuteranopia (green-blind)
#4A79CC
Tritanopia (blue-blind)
#608395
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7970ce;
/* rgb */ color: rgb(121, 112, 206);
/* oklch */ color: oklch(59.6% 0.140 285.7);
Tailwind
colors: {
  custom: {
    50: '#a499dd',
    500: '#7970ce',
    950: '#000000',
  },
}
SCSS
$custom: #7970ce;
$custom-light: #a499dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7970ce",
  "rgb": {
    "r": 121,
    "g": 112,
    "b": 206
  },
  "hsl": {
    "h": 245.745,
    "s": 48.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.5964,
    "c": 0.14,
    "h": 285.7
  },
  "luminance": 0.2011
}

Semantic roles & 50–950 ramp

primary
#7970CE
secondary
#DBDEBC
accent
#BC29AE
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7970CE

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

Preview Lab → · Contrast checker → · Palette generator →

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