#7A71FA#7A71FA

#7A71FA is a light, vivid blue. Relative luminance 0.229; OKLCH L 62.7% C 0.198 H 282.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7A71FA
RGBrgb(122, 113, 250)
HSLhsl(244, 93%, 71%)
HSVhsv(244, 55%, 98%)
CMYKcmyk(51.2%, 54.8%, 0%, 2%)
CIE-LABlab(54.92, 39.17, -67.62)
CIE-LCHlch(54.92, 78.15, 300.08°)
OKLaboklab(62.72% 0.0412 -0.1934)
OKLCHoklch(62.72% 0.198 282)
XYZxyz(31.1812, 22.8482, 93.1911)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A71FA #F1FA71
analogous
#71ACFA #7A71FA #BE71FA
triadic
#7A71FA #FA7A71 #71FA7A
tetradic
#7A71FA #FA71AC #F1FA71 #71FABE
square
#7A71FA #FA71AC #F1FA71 #71FABE
split-complementary
#7A71FA #FABE71 #ACFA71
monochromatic
#1708E8 #4336F8 #7A71FA #B1ACFC #E3E1FE

Accessibility & contrast

On white

3.77
#7A71FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#7A71FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A71FA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A71FA#FFFFFF#000000##000000
##7A71FA1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1588FF
Deuteranopia (green-blind)
#007FF7
Tritanopia (blue-blind)
#4690AB
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7a71fa;
/* rgb */ color: rgb(122, 113, 250);
/* oklch */ color: oklch(62.7% 0.198 282.0);
Tailwind
colors: {
  custom: {
    50: '#a99afd',
    500: '#7a71fa',
    950: '#000000',
  },
}
SCSS
$custom: #7a71fa;
$custom-light: #a99afd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a71fa",
  "rgb": {
    "r": 122,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 243.942,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.62722,
    "c": 0.19771,
    "h": 282
  },
  "luminance": 0.2285
}

Semantic roles & 50–950 ramp

primary
#7A71FA
secondary
#F3F5D1
accent
#E600D6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7A71FA

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

Preview Lab → · Contrast checker → · Palette generator →

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