#7C71CD#7C71CD

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

Color values

HEX#7C71CD
RGBrgb(124, 113, 205)
HSLhsl(247, 48%, 62%)
HSVhsv(247, 45%, 80%)
CMYKcmyk(39.5%, 44.9%, 0%, 19.6%)
CIE-LABlab(52.40, 26.52, -46.38)
CIE-LCHlch(52.40, 53.43, 299.77°)
OKLaboklab(60.02% 0.04 -0.1309)
OKLCHoklch(60.02% 0.137 287)
XYZxyz(25.2337, 20.5023, 60.3736)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C71CD #C2CD71
analogous
#7194CD #7C71CD #AA71CD
triadic
#7C71CD #CD7C71 #71CD7C
tetradic
#7C71CD #CD7194 #C2CD71 #71CDAA
square
#7C71CD #CD7194 #C2CD71 #71CDAA
split-complementary
#7C71CD #CDAA71 #94CD71
monochromatic
#3E3391 #5244BD #7C71CD #A69EDD #D0CCED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C71CD#FFFFFF#000000##000000
##7C71CD1.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)
#507FD0
Deuteranopia (green-blind)
#4E7BCB
Tritanopia (blue-blind)
#658395
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7c71cd;
/* rgb */ color: rgb(124, 113, 205);
/* oklch */ color: oklch(60.0% 0.137 287.0);
Tailwind
colors: {
  custom: {
    50: '#a59add',
    500: '#7c71cd',
    950: '#000000',
  },
}
SCSS
$custom: #7c71cd;
$custom-light: #a59add;
$custom-dark: #000000;
JSON
{
  "hex": "#7c71cd",
  "rgb": {
    "r": 124,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 247.174,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60017,
    "c": 0.13692,
    "h": 287
  },
  "luminance": 0.20503
}

Semantic roles & 50–950 ramp

primary
#7C71CD
secondary
#DADEBC
accent
#BB2AAA
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7C71CD

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

Preview Lab → · Contrast checker → · Palette generator →

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