#7970CA#7970CA

#7970CA is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.4% C 0.134 H 286.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7970CA
RGBrgb(121, 112, 202)
HSLhsl(246, 46%, 62%)
HSVhsv(246, 45%, 79%)
CMYKcmyk(40.1%, 44.6%, 0%, 20.8%)
CIE-LABlab(51.74, 25.51, -45.73)
CIE-LCHlch(51.74, 52.36, 299.15°)
OKLaboklab(59.41% 0.0373 -0.1291)
OKLCHoklch(59.41% 0.134 286.1)
XYZxyz(24.3370, 19.9167, 58.4277)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7970CA #C1CA70
analogous
#7094CA #7970CA #A670CA
triadic
#7970CA #CA7970 #70CA79
tetradic
#7970CA #CA7094 #C1CA70 #70CAA6
square
#7970CA #CA7094 #C1CA70 #70CAA6
split-complementary
#7970CA #CAA670 #94CA70
monochromatic
#3D348C #5044B8 #7970CA #A39DDB #CDC9EB

Accessibility & contrast

On white

4.21
#7970CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#7970CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7970CA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7970CA#FFFFFF#000000##000000
##7970CA1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7ECD
Deuteranopia (green-blind)
#4D79C8
Tritanopia (blue-blind)
#628293
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7970ca;
/* rgb */ color: rgb(121, 112, 202);
/* oklch */ color: oklch(59.4% 0.134 286.1);
Tailwind
colors: {
  custom: {
    50: '#a399da',
    500: '#7970ca',
    950: '#000000',
  },
}
SCSS
$custom: #7970ca;
$custom-light: #a399da;
$custom-dark: #000000;
JSON
{
  "hex": "#7970ca",
  "rgb": {
    "r": 121,
    "g": 112,
    "b": 202
  },
  "hsl": {
    "h": 246,
    "s": 45.918,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59406,
    "c": 0.13439,
    "h": 286.1
  },
  "luminance": 0.19918
}

Semantic roles & 50–950 ramp

primary
#7970CA
secondary
#D8DCBA
accent
#B92CAB
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7970CA

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

Preview Lab → · Contrast checker → · Palette generator →

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