#7D71CA#7D71CA

#7D71CA is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.9% C 0.133 H 287.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7D71CA
RGBrgb(125, 113, 202)
HSLhsl(248, 46%, 62%)
HSVhsv(248, 44%, 79%)
CMYKcmyk(38.1%, 44.1%, 0%, 20.8%)
CIE-LABlab(52.32, 25.95, -44.78)
CIE-LCHlch(52.32, 51.76, 300.09°)
OKLaboklab(59.93% 0.0408 -0.1263)
OKLCHoklch(59.93% 0.133 287.9)
XYZxyz(25.0203, 20.4337, 58.4915)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D71CA #BECA71
analogous
#7192CA #7D71CA #AA71CA
triadic
#7D71CA #CA7D71 #71CA7D
tetradic
#7D71CA #CA7192 #BECA71 #71CAAA
square
#7D71CA #CA7192 #BECA71 #71CAAA
split-complementary
#7D71CA #CAAA71 #92CA71
monochromatic
#40348C #5545B9 #7D71CA #A69EDB #CFCAEB

Accessibility & contrast

On white

4.13
#7D71CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#7D71CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D71CA
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D71CA#FFFFFF#000000##000000
##7D71CA1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#527FCD
Deuteranopia (green-blind)
#517BC8
Tritanopia (blue-blind)
#688294
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7d71ca;
/* rgb */ color: rgb(125, 113, 202);
/* oklch */ color: oklch(59.9% 0.133 287.9);
Tailwind
colors: {
  custom: {
    50: '#a69ada',
    500: '#7d71ca',
    950: '#000000',
  },
}
SCSS
$custom: #7d71ca;
$custom-light: #a69ada;
$custom-dark: #000000;
JSON
{
  "hex": "#7d71ca",
  "rgb": {
    "r": 125,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 248.09,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59927,
    "c": 0.13268,
    "h": 287.9
  },
  "luminance": 0.20434
}

Semantic roles & 50–950 ramp

primary
#7D71CA
secondary
#D7DCBB
accent
#B92DA6
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7D71CA

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

Preview Lab → · Contrast checker → · Palette generator →

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