#7A71F7#7A71F7

#7A71F7 is a light, vivid blue. Relative luminance 0.227; OKLCH L 62.5% C 0.194 H 282.3°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7A71F7
RGBrgb(122, 113, 247)
HSLhsl(244, 89%, 71%)
HSVhsv(244, 54%, 97%)
CMYKcmyk(50.6%, 54.3%, 0%, 3.1%)
CIE-LABlab(54.72, 38.28, -66.27)
CIE-LCHlch(54.72, 76.53, 300.01°)
OKLaboklab(62.52% 0.0411 -0.1894)
OKLCHoklch(62.52% 0.194 282.3)
XYZxyz(30.7146, 22.6615, 90.7333)
Luminance0.2266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A71F7 #EEF771
analogous
#71ABF7 #7A71F7 #BD71F7
triadic
#7A71F7 #F77A71 #71F77A
tetradic
#7A71F7 #F771AB #EEF771 #71F7BD
square
#7A71F7 #F771AB #EEF771 #71F7BD
split-complementary
#7A71F7 #F7BD71 #ABF771
monochromatic
#1B0DE1 #4437F4 #7A71F7 #B0ABFA #E4E2FD

Accessibility & contrast

On white

3.80
#7A71F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#7A71F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A71F7
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A71F7#FFFFFF#000000##000000
##7A71F71.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E88FC
Deuteranopia (green-blind)
#057EF4
Tritanopia (blue-blind)
#488FA9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7a71f7;
/* rgb */ color: rgb(122, 113, 247);
/* oklch */ color: oklch(62.5% 0.194 282.3);
Tailwind
colors: {
  custom: {
    50: '#a99afb',
    500: '#7a71f7',
    950: '#000000',
  },
}
SCSS
$custom: #7a71f7;
$custom-light: #a99afb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a71f7",
  "rgb": {
    "r": 122,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 244.03,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.62517,
    "c": 0.19381,
    "h": 282.3
  },
  "luminance": 0.22663
}

Semantic roles & 50–950 ramp

primary
#7A71F7
secondary
#F2F4D0
accent
#E600D6
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #7A71F7

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

Preview Lab → · Contrast checker → · Palette generator →

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