#7C6DED#7C6DED

#7C6DED is a mid, vivid blue. Relative luminance 0.213; OKLCH L 61.3% C 0.186 H 284.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7C6DED
RGBrgb(124, 109, 237)
HSLhsl(247, 78%, 68%)
HSVhsv(247, 54%, 93%)
CMYKcmyk(47.7%, 54%, 0%, 7.1%)
CIE-LABlab(53.31, 38.08, -62.96)
CIE-LCHlch(53.31, 73.58, 301.16°)
OKLaboklab(61.31% 0.0476 -0.1796)
OKLCHoklch(61.31% 0.186 284.8)
XYZxyz(29.0624, 21.3354, 82.6912)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6DED #DEED6D
analogous
#6D9EED #7C6DED #BC6DED
triadic
#7C6DED #ED7C6D #6DED7C
tetradic
#7C6DED #ED6D9E #DEED6D #6DEDBC
square
#7C6DED #ED6D9E #DEED6D #6DEDBC
split-complementary
#7C6DED #EDBC6D #9EED6D
monochromatic
#2D19C7 #4B37E6 #7C6DED #ADA3F4 #DEDAFA

Accessibility & contrast

On white

3.99
#7C6DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#7C6DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C6DED
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6DED#FFFFFF#000000##000000
##7C6DED1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2583F1
Deuteranopia (green-blind)
#1D7BEA
Tritanopia (blue-blind)
#5589A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7c6ded;
/* rgb */ color: rgb(124, 109, 237);
/* oklch */ color: oklch(61.3% 0.186 284.8);
Tailwind
colors: {
  custom: {
    50: '#a997f4',
    500: '#7c6ded',
    950: '#000000',
  },
}
SCSS
$custom: #7c6ded;
$custom-light: #a997f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6ded",
  "rgb": {
    "r": 124,
    "g": 109,
    "b": 237
  },
  "hsl": {
    "h": 247.031,
    "s": 78.049,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61306,
    "c": 0.18583,
    "h": 284.8
  },
  "luminance": 0.21337
}

Semantic roles & 50–950 ramp

primary
#7C6DED
secondary
#EAEFC7
accent
#DA0BC2
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7C6DED

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

Preview Lab → · Contrast checker → · Palette generator →

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