#7A71EC#7A71EC

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

Color values

HEX#7A71EC
RGBrgb(122, 113, 236)
HSLhsl(244, 76%, 68%)
HSVhsv(244, 52%, 93%)
CMYKcmyk(48.3%, 52.1%, 0%, 7.5%)
CIE-LABlab(54.03, 35.01, -61.26)
CIE-LCHlch(54.03, 70.56, 299.75°)
OKLaboklab(61.78% 0.0407 -0.1747)
OKLCHoklch(61.78% 0.179 283.1)
XYZxyz(29.0669, 22.0025, 82.0559)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A71EC #E3EC71
analogous
#71A5EC #7A71EC #B771EC
triadic
#7A71EC #EC7A71 #71EC7A
tetradic
#7A71EC #EC71A5 #E3EC71 #71ECB7
square
#7A71EC #EC71A5 #E3EC71 #71ECB7
split-complementary
#7A71EC #ECB771 #A5EC71
monochromatic
#271BC8 #473BE5 #7A71EC #ADA7F3 #DFDDFA

Accessibility & contrast

On white

3.89
#7A71EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#7A71EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A71EC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A71EC#FFFFFF#000000##000000
##7A71EC1.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)
#3285F0
Deuteranopia (green-blind)
#297DE9
Tritanopia (blue-blind)
#518CA4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7a71ec;
/* rgb */ color: rgb(122, 113, 236);
/* oklch */ color: oklch(61.8% 0.179 283.1);
Tailwind
colors: {
  custom: {
    50: '#a79af3',
    500: '#7a71ec',
    950: '#000000',
  },
}
SCSS
$custom: #7a71ec;
$custom-light: #a79af3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a71ec",
  "rgb": {
    "r": 122,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 244.39,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61779,
    "c": 0.17934,
    "h": 283.1
  },
  "luminance": 0.22004
}

Semantic roles & 50–950 ramp

primary
#7A71EC
secondary
#ECEFCA
accent
#D90DCA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7A71EC

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

Preview Lab → · Contrast checker → · Palette generator →

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