#7A71EE#7A71EE

#7A71EE is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.9% C 0.182 H 283.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7A71EE
RGBrgb(122, 113, 238)
HSLhsl(244, 79%, 69%)
HSVhsv(244, 53%, 93%)
CMYKcmyk(48.7%, 52.5%, 0%, 6.7%)
CIE-LABlab(54.15, 35.61, -62.18)
CIE-LCHlch(54.15, 71.65, 299.80°)
OKLaboklab(61.91% 0.0408 -0.1774)
OKLCHoklch(61.91% 0.182 283)
XYZxyz(29.3591, 22.1194, 83.5948)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A71EE #E5EE71
analogous
#71A7EE #7A71EE #B971EE
triadic
#7A71EE #EE7A71 #71EE7A
tetradic
#7A71EE #EE71A7 #E5EE71 #71EEB9
square
#7A71EE #EE71A7 #E5EE71 #71EEB9
split-complementary
#7A71EE #EEB971 #A7EE71
monochromatic
#2518CC #473AE7 #7A71EE #ADA8F5 #E0DEFB

Accessibility & contrast

On white

3.87
#7A71EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#7A71EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A71EE
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A71EE#FFFFFF#000000##000000
##7A71EE1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F86F2
Deuteranopia (green-blind)
#257DEB
Tritanopia (blue-blind)
#4F8DA5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7a71ee;
/* rgb */ color: rgb(122, 113, 238);
/* oklch */ color: oklch(61.9% 0.182 283.0);
Tailwind
colors: {
  custom: {
    50: '#a89af4',
    500: '#7a71ee',
    950: '#000000',
  },
}
SCSS
$custom: #7a71ee;
$custom-light: #a89af4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a71ee",
  "rgb": {
    "r": 122,
    "g": 113,
    "b": 238
  },
  "hsl": {
    "h": 244.32,
    "s": 78.616,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61911,
    "c": 0.18199,
    "h": 283
  },
  "luminance": 0.22121
}

Semantic roles & 50–950 ramp

primary
#7A71EE
secondary
#EDF0CB
accent
#DB0BCC
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7A71EE

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

Preview Lab → · Contrast checker → · Palette generator →

#7A71EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva