#7C6AED#7C6AED

#7C6AED is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.8% C 0.190 H 285.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7C6AED
RGBrgb(124, 106, 237)
HSLhsl(248, 78%, 67%)
HSVhsv(248, 55%, 93%)
CMYKcmyk(47.7%, 55.3%, 0%, 7.1%)
CIE-LABlab(52.63, 39.82, -64.07)
CIE-LCHlch(52.63, 75.44, 301.86°)
OKLaboklab(60.8% 0.0509 -0.1829)
OKLCHoklch(60.8% 0.19 285.5)
XYZxyz(28.7478, 20.7062, 82.5863)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6AED #DBED6A
analogous
#6A9AED #7C6AED #BD6AED
triadic
#7C6AED #ED7C6A #6AED7C
tetradic
#7C6AED #ED6A9A #DBED6A #6AEDBD
square
#7C6AED #ED6A9A #DBED6A #6AEDBD
split-complementary
#7C6AED #EDBD6A #9AED6A
monochromatic
#3018C5 #4C33E6 #7C6AED #ACA1F4 #DCD7FA

Accessibility & contrast

On white

4.08
#7C6AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#7C6AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C6AED
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6AED#FFFFFF#000000##000000
##7C6AED1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1881F1
Deuteranopia (green-blind)
#107AEA
Tritanopia (blue-blind)
#5587A1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7c6aed;
/* rgb */ color: rgb(124, 106, 237);
/* oklch */ color: oklch(60.8% 0.190 285.5);
Tailwind
colors: {
  custom: {
    50: '#a995f4',
    500: '#7c6aed',
    950: '#000000',
  },
}
SCSS
$custom: #7c6aed;
$custom-light: #a995f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6aed",
  "rgb": {
    "r": 124,
    "g": 106,
    "b": 237
  },
  "hsl": {
    "h": 248.244,
    "s": 78.443,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60795,
    "c": 0.18985,
    "h": 285.5
  },
  "luminance": 0.20708
}

Semantic roles & 50–950 ramp

primary
#7C6AED
secondary
#E8EEC5
accent
#DB0BBE
background
#FAF9FF
surface
#F5F1FE
border
#CFCBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #7C6AED

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

Preview Lab → · Contrast checker → · Palette generator →

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