#7C71DA#7C71DA

#7C71DA is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.8% C 0.155 H 285.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7C71DA
RGBrgb(124, 113, 218)
HSLhsl(246, 59%, 65%)
HSVhsv(246, 48%, 85%)
CMYKcmyk(43.1%, 48.2%, 0%, 14.5%)
CIE-LABlab(53.12, 30.22, -52.60)
CIE-LCHlch(53.12, 60.66, 299.88°)
OKLaboklab(60.79% 0.0416 -0.1492)
OKLCHoklch(60.79% 0.155 285.6)
XYZxyz(26.8686, 21.1562, 68.9839)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C71DA #CFDA71
analogous
#719ADA #7C71DA #B171DA
triadic
#7C71DA #DA7C71 #71DA7C
tetradic
#7C71DA #DA719A #CFDA71 #71DAB1
square
#7C71DA #DA719A #CFDA71 #71DAB1
split-complementary
#7C71DA #DAB171 #9ADA71
monochromatic
#382BA5 #4F40CD #7C71DA #A9A2E7 #D6D2F3

Accessibility & contrast

On white

4.01
#7C71DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#7C71DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C71DA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C71DA#FFFFFF#000000##000000
##7C71DA1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4682DE
Deuteranopia (green-blind)
#437CD8
Tritanopia (blue-blind)
#5F879B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7c71da;
/* rgb */ color: rgb(124, 113, 218);
/* oklch */ color: oklch(60.8% 0.155 285.6);
Tailwind
colors: {
  custom: {
    50: '#a79ae6',
    500: '#7c71da',
    950: '#000000',
  },
}
SCSS
$custom: #7c71da;
$custom-light: #a79ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c71da",
  "rgb": {
    "r": 124,
    "g": 113,
    "b": 218
  },
  "hsl": {
    "h": 246.286,
    "s": 58.659,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60793,
    "c": 0.15488,
    "h": 285.6
  },
  "luminance": 0.21157
}

Semantic roles & 50–950 ramp

primary
#7C71DA
secondary
#E2E5C1
accent
#C61FB5
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7C71DA

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

Preview Lab → · Contrast checker → · Palette generator →

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