#7A71EB#7A71EB

#7A71EB is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.7% C 0.178 H 283.2°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#7A71EB
RGBrgb(122, 113, 235)
HSLhsl(244, 75%, 68%)
HSVhsv(244, 52%, 92%)
CMYKcmyk(48.1%, 51.9%, 0%, 7.8%)
CIE-LABlab(53.97, 34.72, -60.80)
CIE-LCHlch(53.97, 70.02, 299.73°)
OKLaboklab(61.71% 0.0406 -0.1733)
OKLCHoklch(61.71% 0.178 283.2)
XYZxyz(28.9221, 21.9445, 81.2929)
Luminance0.2195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A71EB #E2EB71
analogous
#71A5EB #7A71EB #B771EB
triadic
#7A71EB #EB7A71 #71EB7A
tetradic
#7A71EB #EB71A5 #E2EB71 #71EBB7
square
#7A71EB #EB71A5 #E2EB71 #71EBB7
split-complementary
#7A71EB #EBB771 #A5EB71
monochromatic
#281CC6 #483BE3 #7A71EB #ACA7F3 #DEDCFA

Accessibility & contrast

On white

3.90
#7A71EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#7A71EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A71EB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A71EB#FFFFFF#000000##000000
##7A71EB1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3385EF
Deuteranopia (green-blind)
#2B7DE8
Tritanopia (blue-blind)
#518CA3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7a71eb;
/* rgb */ color: rgb(122, 113, 235);
/* oklch */ color: oklch(61.7% 0.178 283.2);
Tailwind
colors: {
  custom: {
    50: '#a79af2',
    500: '#7a71eb',
    950: '#000000',
  },
}
SCSS
$custom: #7a71eb;
$custom-light: #a79af2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a71eb",
  "rgb": {
    "r": 122,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 244.426,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61713,
    "c": 0.17801,
    "h": 283.2
  },
  "luminance": 0.21946
}

Semantic roles & 50–950 ramp

primary
#7A71EB
secondary
#ECEEC9
accent
#D70EC9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7A71EB

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

Preview Lab → · Contrast checker → · Palette generator →

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