#7971ED#7971ED

#7971ED is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.8% C 0.181 H 282.6°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7971ED
RGBrgb(121, 113, 237)
HSLhsl(244, 78%, 69%)
HSVhsv(244, 52%, 93%)
CMYKcmyk(48.9%, 52.3%, 0%, 7.1%)
CIE-LABlab(54.01, 35.10, -61.85)
CIE-LCHlch(54.01, 71.11, 299.57°)
OKLaboklab(61.77% 0.0396 -0.1764)
OKLCHoklch(61.77% 0.181 282.6)
XYZxyz(29.0717, 21.9881, 82.8166)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7971ED #E5ED71
analogous
#71A7ED #7971ED #B771ED
triadic
#7971ED #ED7971 #71ED79
tetradic
#7971ED #ED71A7 #E5ED71 #71EDB7
square
#7971ED #ED71A7 #E5ED71 #71EDB7
split-complementary
#7971ED #EDB771 #A7ED71
monochromatic
#251ACA #463BE6 #7971ED #ACA7F4 #E0DEFB

Accessibility & contrast

On white

3.89
#7971ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#7971ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7971ED
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7971ED#FFFFFF#000000##000000
##7971ED1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3085F1
Deuteranopia (green-blind)
#267DEA
Tritanopia (blue-blind)
#4E8CA4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7971ed;
/* rgb */ color: rgb(121, 113, 237);
/* oklch */ color: oklch(61.8% 0.181 282.6);
Tailwind
colors: {
  custom: {
    50: '#a79af3',
    500: '#7971ed',
    950: '#000000',
  },
}
SCSS
$custom: #7971ed;
$custom-light: #a79af3;
$custom-dark: #000000;
JSON
{
  "hex": "#7971ed",
  "rgb": {
    "r": 121,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 243.871,
    "s": 77.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.61768,
    "c": 0.1808,
    "h": 282.6
  },
  "luminance": 0.2199
}

Semantic roles & 50–950 ramp

primary
#7971ED
secondary
#EDEFCA
accent
#DA0CCC
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7971ED

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

Preview Lab → · Contrast checker → · Palette generator →

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