#7C71DC#7C71DC

#7C71DC is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.9% C 0.158 H 285.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7C71DC
RGBrgb(124, 113, 220)
HSLhsl(246, 60%, 65%)
HSVhsv(246, 49%, 86%)
CMYKcmyk(43.6%, 48.6%, 0%, 13.7%)
CIE-LABlab(53.23, 30.79, -53.55)
CIE-LCHlch(53.23, 61.77, 299.90°)
OKLaboklab(60.92% 0.0418 -0.1519)
OKLCHoklch(60.92% 0.158 285.4)
XYZxyz(27.1318, 21.2615, 70.3706)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C71DC #D1DC71
analogous
#719CDC #7C71DC #B171DC
triadic
#7C71DC #DC7C71 #71DC7C
tetradic
#7C71DC #DC719C #D1DC71 #71DCB1
square
#7C71DC #DC719C #D1DC71 #71DCB1
split-complementary
#7C71DC #DCB171 #9CDC71
monochromatic
#372AA9 #4F40D0 #7C71DC #A9A2E8 #D7D3F4

Accessibility & contrast

On white

4.00
#7C71DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#7C71DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C71DC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C71DC#FFFFFF#000000##000000
##7C71DC1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4482E0
Deuteranopia (green-blind)
#417CDA
Tritanopia (blue-blind)
#5E879C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7c71dc;
/* rgb */ color: rgb(124, 113, 220);
/* oklch */ color: oklch(60.9% 0.158 285.4);
Tailwind
colors: {
  custom: {
    50: '#a79ae7',
    500: '#7c71dc',
    950: '#000000',
  },
}
SCSS
$custom: #7c71dc;
$custom-light: #a79ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c71dc",
  "rgb": {
    "r": 124,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 246.168,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60916,
    "c": 0.1576,
    "h": 285.4
  },
  "luminance": 0.21263
}

Semantic roles & 50–950 ramp

primary
#7C71DC
secondary
#E3E6C2
accent
#C81DB7
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7C71DC

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

Preview Lab → · Contrast checker → · Palette generator →

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