#7C71DB#7C71DB

#7C71DB is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.9% C 0.156 H 285.5°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7C71DB
RGBrgb(124, 113, 219)
HSLhsl(246, 60%, 65%)
HSVhsv(246, 48%, 86%)
CMYKcmyk(43.4%, 48.4%, 0%, 14.1%)
CIE-LABlab(53.18, 30.51, -53.08)
CIE-LCHlch(53.18, 61.22, 299.89°)
OKLaboklab(60.85% 0.0417 -0.1506)
OKLCHoklch(60.85% 0.156 285.5)
XYZxyz(26.9998, 21.2087, 69.6752)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C71DB #D0DB71
analogous
#719BDB #7C71DB #B171DB
triadic
#7C71DB #DB7C71 #71DB7C
tetradic
#7C71DB #DB719B #D0DB71 #71DBB1
square
#7C71DB #DB719B #D0DB71 #71DBB1
split-complementary
#7C71DB #DBB171 #9BDB71
monochromatic
#372AA7 #4F40CF #7C71DB #A9A2E7 #D6D3F4

Accessibility & contrast

On white

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

On black

5.24
#7C71DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C71DB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C71DB#FFFFFF#000000##000000
##7C71DB1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4582DF
Deuteranopia (green-blind)
#427CD9
Tritanopia (blue-blind)
#5F879C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7c71db;
/* rgb */ color: rgb(124, 113, 219);
/* oklch */ color: oklch(60.9% 0.156 285.5);
Tailwind
colors: {
  custom: {
    50: '#a79ae7',
    500: '#7c71db',
    950: '#000000',
  },
}
SCSS
$custom: #7c71db;
$custom-light: #a79ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c71db",
  "rgb": {
    "r": 124,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 246.226,
    "s": 59.551,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60854,
    "c": 0.15625,
    "h": 285.5
  },
  "luminance": 0.2121
}

Semantic roles & 50–950 ramp

primary
#7C71DB
secondary
#E2E6C2
accent
#C71EB6
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7C71DB

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

Preview Lab → · Contrast checker → · Palette generator →

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