#7970ED#7970ED

#7970ED is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.6% C 0.182 H 282.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7970ED
RGBrgb(121, 112, 237)
HSLhsl(244, 78%, 68%)
HSVhsv(244, 53%, 93%)
CMYKcmyk(48.9%, 52.7%, 0%, 7.1%)
CIE-LABlab(53.78, 35.69, -62.23)
CIE-LCHlch(53.78, 71.74, 299.83°)
OKLaboklab(61.59% 0.0407 -0.1775)
OKLCHoklch(61.59% 0.182 282.9)
XYZxyz(28.9608, 21.7662, 82.7796)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7970ED #E4ED70
analogous
#70A5ED #7970ED #B770ED
triadic
#7970ED #ED7970 #70ED79
tetradic
#7970ED #ED70A5 #E4ED70 #70EDB7
square
#7970ED #ED70A5 #E4ED70 #70EDB7
split-complementary
#7970ED #EDB770 #A5ED70
monochromatic
#2619C9 #463AE6 #7970ED #ACA6F4 #DFDDFB

Accessibility & contrast

On white

3.92
#7970ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#7970ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7970ED
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7970ED#FFFFFF#000000##000000
##7970ED1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D85F1
Deuteranopia (green-blind)
#237CEA
Tritanopia (blue-blind)
#4E8CA4
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7970ed;
/* rgb */ color: rgb(121, 112, 237);
/* oklch */ color: oklch(61.6% 0.182 282.9);
Tailwind
colors: {
  custom: {
    50: '#a799f3',
    500: '#7970ed',
    950: '#000000',
  },
}
SCSS
$custom: #7970ed;
$custom-light: #a799f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7970ed",
  "rgb": {
    "r": 121,
    "g": 112,
    "b": 237
  },
  "hsl": {
    "h": 244.32,
    "s": 77.64,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61592,
    "c": 0.18214,
    "h": 282.9
  },
  "luminance": 0.21768
}

Semantic roles & 50–950 ramp

primary
#7970ED
secondary
#ECEFCA
accent
#DA0CCB
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7970ED

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

Preview Lab → · Contrast checker → · Palette generator →

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