#7970CD#7970CD

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

Color values

HEX#7970CD
RGBrgb(121, 112, 205)
HSLhsl(246, 48%, 62%)
HSVhsv(246, 45%, 80%)
CMYKcmyk(41%, 45.4%, 0%, 19.6%)
CIE-LABlab(51.91, 26.36, -47.18)
CIE-LCHlch(51.91, 54.04, 299.19°)
OKLaboklab(59.58% 0.0377 -0.1334)
OKLCHoklch(59.58% 0.139 285.8)
XYZxyz(24.6956, 20.0602, 60.3166)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7970CD #C4CD70
analogous
#7096CD #7970CD #A770CD
triadic
#7970CD #CD7970 #70CD79
tetradic
#7970CD #CD7096 #C4CD70 #70CDA7
square
#7970CD #CD7096 #C4CD70 #70CDA7
split-complementary
#7970CD #CDA770 #96CD70
monochromatic
#3B3290 #4F43BD #7970CD #A39DDD #CECBED

Accessibility & contrast

On white

4.19
#7970CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#7970CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7970CD
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7970CD#FFFFFF#000000##000000
##7970CD1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7ED0
Deuteranopia (green-blind)
#4B79CB
Tritanopia (blue-blind)
#618395
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7970cd;
/* rgb */ color: rgb(121, 112, 205);
/* oklch */ color: oklch(59.6% 0.139 285.8);
Tailwind
colors: {
  custom: {
    50: '#a499dd',
    500: '#7970cd',
    950: '#000000',
  },
}
SCSS
$custom: #7970cd;
$custom-light: #a499dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7970cd",
  "rgb": {
    "r": 121,
    "g": 112,
    "b": 205
  },
  "hsl": {
    "h": 245.806,
    "s": 48.187,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59581,
    "c": 0.13859,
    "h": 285.8
  },
  "luminance": 0.20061
}

Semantic roles & 50–950 ramp

primary
#7970CD
secondary
#DADDBB
accent
#BB2AAD
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7970CD

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

Preview Lab → · Contrast checker → · Palette generator →

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