#7C6CED#7C6CED

#7C6CED is a mid, vivid blue. Relative luminance 0.211; OKLCH L 61.1% C 0.187 H 285.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7C6CED
RGBrgb(124, 108, 237)
HSLhsl(247, 78%, 68%)
HSVhsv(247, 54%, 93%)
CMYKcmyk(47.7%, 54.4%, 0%, 7.1%)
CIE-LABlab(53.08, 38.66, -63.34)
CIE-LCHlch(53.08, 74.20, 301.40°)
OKLaboklab(61.13% 0.0487 -0.1807)
OKLCHoklch(61.13% 0.187 285.1)
XYZxyz(28.9563, 21.1233, 82.6558)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6CED #DDED6C
analogous
#6C9CED #7C6CED #BD6CED
triadic
#7C6CED #ED7C6C #6CED7C
tetradic
#7C6CED #ED6C9C #DDED6C #6CEDBD
square
#7C6CED #ED6C9C #DDED6C #6CEDBD
split-complementary
#7C6CED #EDBD6C #9CED6C
monochromatic
#2E18C6 #4B35E6 #7C6CED #ADA3F4 #DDD9FA

Accessibility & contrast

On white

4.02
#7C6CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C6CED#FFFFFF#000000##000000
##7C6CED1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2182F1
Deuteranopia (green-blind)
#1A7BEA
Tritanopia (blue-blind)
#5589A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7c6ced;
/* rgb */ color: rgb(124, 108, 237);
/* oklch */ color: oklch(61.1% 0.187 285.1);
Tailwind
colors: {
  custom: {
    50: '#a996f4',
    500: '#7c6ced',
    950: '#000000',
  },
}
SCSS
$custom: #7c6ced;
$custom-light: #a996f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6ced",
  "rgb": {
    "r": 124,
    "g": 108,
    "b": 237
  },
  "hsl": {
    "h": 247.442,
    "s": 78.182,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61134,
    "c": 0.18717,
    "h": 285.1
  },
  "luminance": 0.21125
}

Semantic roles & 50–950 ramp

primary
#7C6CED
secondary
#E9EEC6
accent
#DA0BC1
background
#FAF9FF
surface
#F5F2FE
border
#CFCCD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7C6CED

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

Preview Lab → · Contrast checker → · Palette generator →

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