#7970EB#7970EB

#7970EB is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.5% C 0.179 H 283.1°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7970EB
RGBrgb(121, 112, 235)
HSLhsl(244, 75%, 68%)
HSVhsv(244, 52%, 92%)
CMYKcmyk(48.5%, 52.3%, 0%, 7.8%)
CIE-LABlab(53.65, 35.09, -61.31)
CIE-LCHlch(53.65, 70.65, 299.79°)
OKLaboklab(61.46% 0.0406 -0.1748)
OKLCHoklch(61.46% 0.179 283.1)
XYZxyz(28.6702, 21.6500, 81.2493)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7970EB #E2EB70
analogous
#70A4EB #7970EB #B670EB
triadic
#7970EB #EB7970 #70EB79
tetradic
#7970EB #EB70A4 #E2EB70 #70EBB6
square
#7970EB #EB70A4 #E2EB70 #70EBB6
split-complementary
#7970EB #EBB670 #A4EB70
monochromatic
#281CC5 #473AE3 #7970EB #ABA6F3 #DEDBFA

Accessibility & contrast

On white

3.94
#7970EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#7970EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7970EB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7970EB#FFFFFF#000000##000000
##7970EB1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3084EF
Deuteranopia (green-blind)
#277CE8
Tritanopia (blue-blind)
#4F8BA3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7970eb;
/* rgb */ color: rgb(121, 112, 235);
/* oklch */ color: oklch(61.5% 0.179 283.1);
Tailwind
colors: {
  custom: {
    50: '#a799f2',
    500: '#7970eb',
    950: '#000000',
  },
}
SCSS
$custom: #7970eb;
$custom-light: #a799f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7970eb",
  "rgb": {
    "r": 121,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 244.39,
    "s": 75.46,
    "l": 68.039
  },
  "oklch": {
    "l": 0.61459,
    "c": 0.17949,
    "h": 283.1
  },
  "luminance": 0.21651
}

Semantic roles & 50–950 ramp

primary
#7970EB
secondary
#EBEEC9
accent
#D80EC9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7970EB

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

Preview Lab → · Contrast checker → · Palette generator →

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