#7A71BB#7A71BB

#7A71BB is a mid, moderate blue. Relative luminance 0.195; OKLCH L 58.8% C 0.111 H 288.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7A71BB
RGBrgb(122, 113, 187)
HSLhsl(247, 35%, 59%)
HSVhsv(247, 40%, 73%)
CMYKcmyk(34.8%, 39.6%, 0%, 26.7%)
CIE-LABlab(51.31, 21.00, -37.81)
CIE-LCHlch(51.31, 43.25, 299.05°)
OKLaboklab(58.84% 0.0345 -0.106)
OKLCHoklch(58.84% 0.111 288)
XYZxyz(22.8984, 19.5351, 49.5683)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A71BB #B2BB71
analogous
#718DBB #7A71BB #9F71BB
triadic
#7A71BB #BB7A71 #71BB7A
tetradic
#7A71BB #BB718D #B2BB71 #71BB9F
square
#7A71BB #BB718D #B2BB71 #71BB9F
split-complementary
#7A71BB #BB9F71 #8DBB71
monochromatic
#413A78 #584DA1 #7A71BB #A19ACF #C8C4E3

Accessibility & contrast

On white

4.28
#7A71BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#7A71BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A71BB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A71BB#FFFFFF#000000##000000
##7A71BB1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7CBE
Deuteranopia (green-blind)
#5978B9
Tritanopia (blue-blind)
#6A7F8D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7a71bb;
/* rgb */ color: rgb(122, 113, 187);
/* oklch */ color: oklch(58.8% 0.111 288.0);
Tailwind
colors: {
  custom: {
    50: '#a399d0',
    500: '#7a71bb',
    950: '#000000',
  },
}
SCSS
$custom: #7a71bb;
$custom-light: #a399d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a71bb",
  "rgb": {
    "r": 122,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 247.297,
    "s": 35.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58844,
    "c": 0.11149,
    "h": 288
  },
  "luminance": 0.19536
}

Semantic roles & 50–950 ramp

primary
#7A71BB
secondary
#CFD2B5
accent
#CB5DBE
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7A71BB

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

Preview Lab → · Contrast checker → · Palette generator →

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