#7D71CD#7D71CD

#7D71CD is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.1% C 0.137 H 287.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7D71CD
RGBrgb(125, 113, 205)
HSLhsl(248, 48%, 62%)
HSVhsv(248, 45%, 80%)
CMYKcmyk(39%, 44.9%, 0%, 19.6%)
CIE-LABlab(52.48, 26.78, -46.24)
CIE-LCHlch(52.48, 53.44, 300.08°)
OKLaboklab(60.1% 0.0412 -0.1305)
OKLCHoklch(60.1% 0.137 287.5)
XYZxyz(25.3790, 20.5772, 60.3804)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D71CD #C1CD71
analogous
#7193CD #7D71CD #AB71CD
triadic
#7D71CD #CD7D71 #71CD7D
tetradic
#7D71CD #CD7193 #C1CD71 #71CDAB
square
#7D71CD #CD7193 #C1CD71 #71CDAB
split-complementary
#7D71CD #CDAB71 #93CD71
monochromatic
#3F3391 #5444BD #7D71CD #A69EDD #D0CCED

Accessibility & contrast

On white

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

On black

5.12
#7D71CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D71CD
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D71CD#FFFFFF#000000##000000
##7D71CD1.004.115.125.12
#FFFFFF4.111.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#507FD0
Deuteranopia (green-blind)
#4F7BCB
Tritanopia (blue-blind)
#678395
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7d71cd;
/* rgb */ color: rgb(125, 113, 205);
/* oklch */ color: oklch(60.1% 0.137 287.5);
Tailwind
colors: {
  custom: {
    50: '#a69add',
    500: '#7d71cd',
    950: '#000000',
  },
}
SCSS
$custom: #7d71cd;
$custom-light: #a69add;
$custom-dark: #000000;
JSON
{
  "hex": "#7d71cd",
  "rgb": {
    "r": 125,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 247.826,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.601,
    "c": 0.13687,
    "h": 287.5
  },
  "luminance": 0.20578
}

Semantic roles & 50–950 ramp

primary
#7D71CD
secondary
#D9DEBC
accent
#BB2AA8
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7D71CD

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

Preview Lab → · Contrast checker → · Palette generator →

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