#7A71DC#7A71DC

#7A71DC is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.8% C 0.158 H 284.5°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7A71DC
RGBrgb(122, 113, 220)
HSLhsl(245, 60%, 65%)
HSVhsv(245, 49%, 86%)
CMYKcmyk(44.5%, 48.6%, 0%, 13.7%)
CIE-LABlab(53.07, 30.32, -53.81)
CIE-LCHlch(53.07, 61.77, 299.40°)
OKLaboklab(60.76% 0.0395 -0.1528)
OKLCHoklch(60.76% 0.158 284.5)
XYZxyz(26.8457, 21.1140, 70.3572)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A71DC #D3DC71
analogous
#719DDC #7A71DC #B071DC
triadic
#7A71DC #DC7A71 #71DC7A
tetradic
#7A71DC #DC719D #D3DC71 #71DCB0
square
#7A71DC #DC719D #D3DC71 #71DCB0
split-complementary
#7A71DC #DCB071 #9DDC71
monochromatic
#342AA9 #4C40D0 #7A71DC #A8A2E8 #D6D3F4

Accessibility & contrast

On white

4.02
#7A71DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#7A71DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A71DC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A71DC#FFFFFF#000000##000000
##7A71DC1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4382E0
Deuteranopia (green-blind)
#3F7BDA
Tritanopia (blue-blind)
#5B879C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7a71dc;
/* rgb */ color: rgb(122, 113, 220);
/* oklch */ color: oklch(60.8% 0.158 284.5);
Tailwind
colors: {
  custom: {
    50: '#a69ae7',
    500: '#7a71dc',
    950: '#000000',
  },
}
SCSS
$custom: #7a71dc;
$custom-light: #a69ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a71dc",
  "rgb": {
    "r": 122,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 245.047,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60755,
    "c": 0.15779,
    "h": 284.5
  },
  "luminance": 0.21115
}

Semantic roles & 50–950 ramp

primary
#7A71DC
secondary
#E3E6C2
accent
#C81DBA
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7A71DC

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

Preview Lab → · Contrast checker → · Palette generator →

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