#7C6DEC#7C6DEC

#7C6DEC is a mid, vivid blue. Relative luminance 0.213; OKLCH L 61.2% C 0.185 H 284.9°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7C6DEC
RGBrgb(124, 109, 236)
HSLhsl(247, 77%, 68%)
HSVhsv(247, 54%, 93%)
CMYKcmyk(47.5%, 53.8%, 0%, 7.5%)
CIE-LABlab(53.25, 37.79, -62.51)
CIE-LCHlch(53.25, 73.04, 301.15°)
OKLaboklab(61.24% 0.0475 -0.1783)
OKLCHoklch(61.24% 0.185 284.9)
XYZxyz(28.9167, 21.2771, 81.9239)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6DEC #DDEC6D
analogous
#6D9DEC #7C6DEC #BC6DEC
triadic
#7C6DEC #EC7C6D #6DEC7C
tetradic
#7C6DEC #EC6D9D #DDEC6D #6DECBC
square
#7C6DEC #EC6D9D #DDEC6D #6DECBC
split-complementary
#7C6DEC #ECBC6D #9DEC6D
monochromatic
#2E1AC5 #4B37E5 #7C6DEC #ADA3F3 #DDD9FA

Accessibility & contrast

On white

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

On black

5.26
#7C6DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C6DEC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6DEC#FFFFFF#000000##000000
##7C6DEC1.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2683F0
Deuteranopia (green-blind)
#207BE9
Tritanopia (blue-blind)
#5589A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7c6dec;
/* rgb */ color: rgb(124, 109, 236);
/* oklch */ color: oklch(61.2% 0.185 284.9);
Tailwind
colors: {
  custom: {
    50: '#a997f3',
    500: '#7c6dec',
    950: '#000000',
  },
}
SCSS
$custom: #7c6dec;
$custom-light: #a997f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6dec",
  "rgb": {
    "r": 124,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 247.087,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61238,
    "c": 0.18451,
    "h": 284.9
  },
  "luminance": 0.21278
}

Semantic roles & 50–950 ramp

primary
#7C6DEC
secondary
#E9EEC7
accent
#D90CC1
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7C6DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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