#7A71EA#7A71EA

#7A71EA is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.6% C 0.177 H 283.3°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7A71EA
RGBrgb(122, 113, 234)
HSLhsl(244, 74%, 68%)
HSVhsv(244, 52%, 92%)
CMYKcmyk(47.9%, 51.7%, 0%, 8.2%)
CIE-LABlab(53.91, 34.42, -60.34)
CIE-LCHlch(53.91, 69.47, 299.70°)
OKLaboklab(61.65% 0.0406 -0.172)
OKLCHoklch(61.65% 0.177 283.3)
XYZxyz(28.7780, 21.8869, 80.5342)
Luminance0.2189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A71EA #E1EA71
analogous
#71A4EA #7A71EA #B671EA
triadic
#7A71EA #EA7A71 #71EA7A
tetradic
#7A71EA #EA71A4 #E1EA71 #71EAB6
square
#7A71EA #EA71A4 #E1EA71 #71EAB6
split-complementary
#7A71EA #EAB671 #A4EA71
monochromatic
#291DC4 #483CE2 #7A71EA #ACA6F2 #DEDCFA

Accessibility & contrast

On white

3.91
#7A71EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#7A71EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A71EA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A71EA#FFFFFF#000000##000000
##7A71EA1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3485EE
Deuteranopia (green-blind)
#2D7DE7
Tritanopia (blue-blind)
#528BA3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7a71ea;
/* rgb */ color: rgb(122, 113, 234);
/* oklch */ color: oklch(61.6% 0.177 283.3);
Tailwind
colors: {
  custom: {
    50: '#a79af1',
    500: '#7a71ea',
    950: '#000000',
  },
}
SCSS
$custom: #7a71ea;
$custom-light: #a79af1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a71ea",
  "rgb": {
    "r": 122,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 244.463,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.61648,
    "c": 0.17668,
    "h": 283.3
  },
  "luminance": 0.21888
}

Semantic roles & 50–950 ramp

primary
#7A71EA
secondary
#EBEEC9
accent
#D60FC8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7A71EA

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

Preview Lab → · Contrast checker → · Palette generator →

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