#7D71CF#7D71CF

#7D71CF is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.2% C 0.140 H 287.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7D71CF
RGBrgb(125, 113, 207)
HSLhsl(248, 49%, 63%)
HSVhsv(248, 45%, 81%)
CMYKcmyk(39.6%, 45.4%, 0%, 18.8%)
CIE-LABlab(52.59, 27.34, -47.21)
CIE-LCHlch(52.59, 54.55, 300.08°)
OKLaboklab(60.22% 0.0415 -0.1333)
OKLCHoklch(60.22% 0.14 287.3)
XYZxyz(25.6219, 20.6744, 61.6600)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D71CF #C3CF71
analogous
#7194CF #7D71CF #AC71CF
triadic
#7D71CF #CF7D71 #71CF7D
tetradic
#7D71CF #CF7194 #C3CF71 #71CFAC
square
#7D71CF #CF7194 #C3CF71 #71CFAC
split-complementary
#7D71CF #CFAC71 #94CF71
monochromatic
#3E3294 #5343C0 #7D71CF #A79FDE #D1CCEE

Accessibility & contrast

On white

4.09
#7D71CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#7D71CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D71CF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D71CF#FFFFFF#000000##000000
##7D71CF1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F80D2
Deuteranopia (green-blind)
#4E7BCD
Tritanopia (blue-blind)
#668496
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7d71cf;
/* rgb */ color: rgb(125, 113, 207);
/* oklch */ color: oklch(60.2% 0.140 287.3);
Tailwind
colors: {
  custom: {
    50: '#a69ade',
    500: '#7d71cf',
    950: '#000000',
  },
}
SCSS
$custom: #7d71cf;
$custom-light: #a69ade;
$custom-dark: #000000;
JSON
{
  "hex": "#7d71cf",
  "rgb": {
    "r": 125,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 247.66,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60216,
    "c": 0.13965,
    "h": 287.3
  },
  "luminance": 0.20675
}

Semantic roles & 50–950 ramp

primary
#7D71CF
secondary
#DBDFBD
accent
#BD29AA
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7D71CF

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

Preview Lab → · Contrast checker → · Palette generator →

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