#7D71CB#7D71CB

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

Color values

HEX#7D71CB
RGBrgb(125, 113, 203)
HSLhsl(248, 46%, 62%)
HSVhsv(248, 44%, 80%)
CMYKcmyk(38.4%, 44.3%, 0%, 20.4%)
CIE-LABlab(52.38, 26.22, -45.27)
CIE-LCHlch(52.38, 52.32, 300.08°)
OKLaboklab(59.99% 0.0409 -0.1277)
OKLCHoklch(59.99% 0.134 287.8)
XYZxyz(25.1391, 20.4812, 59.1171)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D71CB #BFCB71
analogous
#7192CB #7D71CB #AA71CB
triadic
#7D71CB #CB7D71 #71CB7D
tetradic
#7D71CB #CB7192 #BFCB71 #71CBAA
square
#7D71CB #CB7192 #BFCB71 #71CBAA
split-complementary
#7D71CB #CBAA71 #92CB71
monochromatic
#40348E #5444BB #7D71CB #A69EDB #CFCBEC

Accessibility & contrast

On white

4.12
#7D71CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#7D71CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D71CB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D71CB#FFFFFF#000000##000000
##7D71CB1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#517FCE
Deuteranopia (green-blind)
#517BC9
Tritanopia (blue-blind)
#688394
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7d71cb;
/* rgb */ color: rgb(125, 113, 203);
/* oklch */ color: oklch(60.0% 0.134 287.8);
Tailwind
colors: {
  custom: {
    50: '#a69adb',
    500: '#7d71cb',
    950: '#000000',
  },
}
SCSS
$custom: #7d71cb;
$custom-light: #a69adb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d71cb",
  "rgb": {
    "r": 125,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 248,
    "s": 46.392,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59985,
    "c": 0.13408,
    "h": 287.8
  },
  "luminance": 0.20482
}

Semantic roles & 50–950 ramp

primary
#7D71CB
secondary
#D8DCBB
accent
#BA2CA7
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7D71CB

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

Preview Lab → · Contrast checker → · Palette generator →

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