#7D71BA#7D71BA

#7D71BA is a mid, moderate blue. Relative luminance 0.197; OKLCH L 59.0% C 0.110 H 290.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7D71BA
RGBrgb(125, 113, 186)
HSLhsl(250, 35%, 59%)
HSVhsv(250, 39%, 73%)
CMYKcmyk(32.8%, 39.2%, 0%, 27.1%)
CIE-LABlab(51.51, 21.58, -36.89)
CIE-LCHlch(51.51, 42.74, 300.32°)
OKLaboklab(59.05% 0.0379 -0.1033)
OKLCHoklch(59.05% 0.11 290.2)
XYZxyz(23.2232, 19.7149, 49.0267)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D71BA #AEBA71
analogous
#7189BA #7D71BA #A171BA
triadic
#7D71BA #BA7D71 #71BA7D
tetradic
#7D71BA #BA7189 #AEBA71 #71BAA1
square
#7D71BA #BA7189 #AEBA71 #71BAA1
split-complementary
#7D71BA #BAA171 #89BA71
monochromatic
#443A77 #5B4EA0 #7D71BA #A39ACE #C8C3E2

Accessibility & contrast

On white

4.25
#7D71BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#7D71BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D71BA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D71BA#FFFFFF#000000##000000
##7D71BA1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7CBD
Deuteranopia (green-blind)
#5B79B8
Tritanopia (blue-blind)
#6E7E8D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7d71ba;
/* rgb */ color: rgb(125, 113, 186);
/* oklch */ color: oklch(59.0% 0.110 290.2);
Tailwind
colors: {
  custom: {
    50: '#a59acf',
    500: '#7d71ba',
    950: '#000000',
  },
}
SCSS
$custom: #7d71ba;
$custom-light: #a59acf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d71ba",
  "rgb": {
    "r": 125,
    "g": 113,
    "b": 186
  },
  "hsl": {
    "h": 249.863,
    "s": 34.597,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59047,
    "c": 0.11001,
    "h": 290.2
  },
  "luminance": 0.19715
}

Semantic roles & 50–950 ramp

primary
#7D71BA
secondary
#CDD2B5
accent
#CB5DB9
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7D71BA

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

Preview Lab → · Contrast checker → · Palette generator →

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