#7D71BB#7D71BB

#7D71BB is a mid, moderate blue. Relative luminance 0.198; OKLCH L 59.1% C 0.111 H 290.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7D71BB
RGBrgb(125, 113, 187)
HSLhsl(250, 35%, 59%)
HSVhsv(250, 40%, 73%)
CMYKcmyk(33.2%, 39.6%, 0%, 26.7%)
CIE-LABlab(51.56, 21.85, -37.39)
CIE-LCHlch(51.56, 43.30, 300.30°)
OKLaboklab(59.1% 0.0381 -0.1047)
OKLCHoklch(59.1% 0.111 290)
XYZxyz(23.3299, 19.7575, 49.5885)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D71BB #AFBB71
analogous
#718ABB #7D71BB #A271BB
triadic
#7D71BB #BB7D71 #71BB7D
tetradic
#7D71BB #BB718A #AFBB71 #71BBA2
square
#7D71BB #BB718A #AFBB71 #71BBA2
split-complementary
#7D71BB #BBA271 #8ABB71
monochromatic
#443A78 #5B4DA1 #7D71BB #A39ACF #C9C4E3

Accessibility & contrast

On white

4.24
#7D71BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#7D71BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D71BB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D71BB#FFFFFF#000000##000000
##7D71BB1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7CBE
Deuteranopia (green-blind)
#5B79B9
Tritanopia (blue-blind)
#6E7F8D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7d71bb;
/* rgb */ color: rgb(125, 113, 187);
/* oklch */ color: oklch(59.1% 0.111 290.0);
Tailwind
colors: {
  custom: {
    50: '#a59ad0',
    500: '#7d71bb',
    950: '#000000',
  },
}
SCSS
$custom: #7d71bb;
$custom-light: #a59ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d71bb",
  "rgb": {
    "r": 125,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 249.73,
    "s": 35.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.591,
    "c": 0.11144,
    "h": 290
  },
  "luminance": 0.19758
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D71BB

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

Preview Lab → · Contrast checker → · Palette generator →

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