#7A71DA#7A71DA

#7A71DA is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.6% C 0.155 H 284.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7A71DA
RGBrgb(122, 113, 218)
HSLhsl(245, 59%, 65%)
HSVhsv(245, 48%, 85%)
CMYKcmyk(44%, 48.2%, 0%, 14.5%)
CIE-LABlab(52.96, 29.74, -52.87)
CIE-LCHlch(52.96, 60.66, 299.36°)
OKLaboklab(60.63% 0.0393 -0.15)
OKLCHoklch(60.63% 0.155 284.7)
XYZxyz(26.5824, 21.0087, 68.9705)
Luminance0.2101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A71DA #D1DA71
analogous
#719CDA #7A71DA #AF71DA
triadic
#7A71DA #DA7A71 #71DA7A
tetradic
#7A71DA #DA719C #D1DA71 #71DAAF
square
#7A71DA #DA719C #D1DA71 #71DAAF
split-complementary
#7A71DA #DAAF71 #9CDA71
monochromatic
#362BA5 #4D40CD #7A71DA #A7A2E7 #D5D2F3

Accessibility & contrast

On white

4.04
#7A71DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#7A71DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A71DA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A71DA#FFFFFF#000000##000000
##7A71DA1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4582DE
Deuteranopia (green-blind)
#427BD8
Tritanopia (blue-blind)
#5C879B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7a71da;
/* rgb */ color: rgb(122, 113, 218);
/* oklch */ color: oklch(60.6% 0.155 284.7);
Tailwind
colors: {
  custom: {
    50: '#a59ae6',
    500: '#7a71da',
    950: '#000000',
  },
}
SCSS
$custom: #7a71da;
$custom-light: #a59ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a71da",
  "rgb": {
    "r": 122,
    "g": 113,
    "b": 218
  },
  "hsl": {
    "h": 245.143,
    "s": 58.659,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60632,
    "c": 0.15506,
    "h": 284.7
  },
  "luminance": 0.2101
}

Semantic roles & 50–950 ramp

primary
#7A71DA
secondary
#E2E5C1
accent
#C61FB8
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7A71DA

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

Preview Lab → · Contrast checker → · Palette generator →

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