#7A71CD#7A71CD

#7A71CD is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.9% C 0.137 H 285.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7A71CD
RGBrgb(122, 113, 205)
HSLhsl(246, 48%, 62%)
HSVhsv(246, 45%, 80%)
CMYKcmyk(40.5%, 44.9%, 0%, 19.6%)
CIE-LABlab(52.24, 26.01, -46.65)
CIE-LCHlch(52.24, 53.41, 299.15°)
OKLaboklab(59.85% 0.0376 -0.1318)
OKLCHoklch(59.85% 0.137 285.9)
XYZxyz(24.9475, 20.3547, 60.3602)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A71CD #C4CD71
analogous
#7196CD #7A71CD #A871CD
triadic
#7A71CD #CD7A71 #71CD7A
tetradic
#7A71CD #CD7196 #C4CD71 #71CDA8
square
#7A71CD #CD7196 #C4CD71 #71CDA8
split-complementary
#7A71CD #CDA871 #96CD71
monochromatic
#3C3391 #5044BD #7A71CD #A49EDD #CFCCED

Accessibility & contrast

On white

4.14
#7A71CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#7A71CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A71CD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A71CD#FFFFFF#000000##000000
##7A71CD1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7FD0
Deuteranopia (green-blind)
#4D7ACB
Tritanopia (blue-blind)
#628395
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7a71cd;
/* rgb */ color: rgb(122, 113, 205);
/* oklch */ color: oklch(59.9% 0.137 285.9);
Tailwind
colors: {
  custom: {
    50: '#a49add',
    500: '#7a71cd',
    950: '#000000',
  },
}
SCSS
$custom: #7a71cd;
$custom-light: #a49add;
$custom-dark: #000000;
JSON
{
  "hex": "#7a71cd",
  "rgb": {
    "r": 122,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 245.87,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59852,
    "c": 0.13705,
    "h": 285.9
  },
  "luminance": 0.20356
}

Semantic roles & 50–950 ramp

primary
#7A71CD
secondary
#DADEBC
accent
#BB2AAD
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7A71CD

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

Preview Lab → · Contrast checker → · Palette generator →

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