#7D71CC#7D71CC

#7D71CC is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.0% C 0.135 H 287.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7D71CC
RGBrgb(125, 113, 204)
HSLhsl(248, 47%, 62%)
HSVhsv(248, 45%, 80%)
CMYKcmyk(38.7%, 44.6%, 0%, 20%)
CIE-LABlab(52.43, 26.50, -45.75)
CIE-LCHlch(52.43, 52.88, 300.08°)
OKLaboklab(60.04% 0.0411 -0.1291)
OKLCHoklch(60.04% 0.135 287.6)
XYZxyz(25.2586, 20.5291, 59.7467)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D71CC #C0CC71
analogous
#7193CC #7D71CC #AB71CC
triadic
#7D71CC #CC7D71 #71CC7D
tetradic
#7D71CC #CC7193 #C0CC71 #71CCAB
square
#7D71CC #CC7193 #C0CC71 #71CCAB
split-complementary
#7D71CC #CCAB71 #93CC71
monochromatic
#40338F #5444BC #7D71CC #A69EDC #CFCBEC

Accessibility & contrast

On white

4.11
#7D71CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#7D71CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D71CC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D71CC#FFFFFF#000000##000000
##7D71CC1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#517FCF
Deuteranopia (green-blind)
#507BCA
Tritanopia (blue-blind)
#678395
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7d71cc;
/* rgb */ color: rgb(125, 113, 204);
/* oklch */ color: oklch(60.0% 0.135 287.6);
Tailwind
colors: {
  custom: {
    50: '#a69adc',
    500: '#7d71cc',
    950: '#000000',
  },
}
SCSS
$custom: #7d71cc;
$custom-light: #a69adc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d71cc",
  "rgb": {
    "r": 125,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 247.912,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60042,
    "c": 0.13547,
    "h": 287.6
  },
  "luminance": 0.2053
}

Semantic roles & 50–950 ramp

primary
#7D71CC
secondary
#D9DDBC
accent
#BA2BA7
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7D71CC

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

Preview Lab → · Contrast checker → · Palette generator →

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