#7D71BE#7D71BE

#7D71BE is a mid, moderate blue. Relative luminance 0.199; OKLCH L 59.3% C 0.116 H 289.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7D71BE
RGBrgb(125, 113, 190)
HSLhsl(249, 37%, 59%)
HSVhsv(249, 41%, 75%)
CMYKcmyk(34.2%, 40.5%, 0%, 25.5%)
CIE-LABlab(51.71, 22.65, -38.88)
CIE-LCHlch(51.71, 45.00, 300.23°)
OKLaboklab(59.26% 0.0387 -0.1091)
OKLCHoklch(59.26% 0.116 289.5)
XYZxyz(23.6544, 19.8874, 51.2976)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D71BE #B2BE71
analogous
#718CBE #7D71BE #A471BE
triadic
#7D71BE #BE7D71 #71BE7D
tetradic
#7D71BE #BE718C #B2BE71 #71BEA4
square
#7D71BE #BE718C #B2BE71 #71BEA4
split-complementary
#7D71BE #BEA471 #8CBE71
monochromatic
#43397C #5A4CA6 #7D71BE #A39BD1 #CAC5E4

Accessibility & contrast

On white

4.22
#7D71BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#7D71BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D71BE
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D71BE#FFFFFF#000000##000000
##7D71BE1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#597DC1
Deuteranopia (green-blind)
#5979BC
Tritanopia (blue-blind)
#6D7F8E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7d71be;
/* rgb */ color: rgb(125, 113, 190);
/* oklch */ color: oklch(59.3% 0.116 289.5);
Tailwind
colors: {
  custom: {
    50: '#a59ad2',
    500: '#7d71be',
    950: '#000000',
  },
}
SCSS
$custom: #7d71be;
$custom-light: #a59ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d71be",
  "rgb": {
    "r": 125,
    "g": 113,
    "b": 190
  },
  "hsl": {
    "h": 249.351,
    "s": 37.198,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59261,
    "c": 0.11572,
    "h": 289.5
  },
  "luminance": 0.19888
}

Semantic roles & 50–950 ramp

primary
#7D71BE
secondary
#D0D4B6
accent
#CD5BBB
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7D71BE

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

Preview Lab → · Contrast checker → · Palette generator →

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