#7C6AE5#7C6AE5

#7C6AE5 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 60.3% C 0.179 H 286.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7C6AE5
RGBrgb(124, 106, 229)
HSLhsl(249, 70%, 66%)
HSVhsv(249, 54%, 90%)
CMYKcmyk(45.9%, 53.7%, 0%, 10.2%)
CIE-LABlab(52.12, 37.51, -60.41)
CIE-LCHlch(52.12, 71.11, 301.84°)
OKLaboklab(60.26% 0.0507 -0.1721)
OKLCHoklch(60.26% 0.179 286.4)
XYZxyz(27.6050, 20.2491, 76.5675)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6AE5 #D3E56A
analogous
#6A96E5 #7C6AE5 #B96AE5
triadic
#7C6AE5 #E57C6A #6AE57C
tetradic
#7C6AE5 #E56A96 #D3E56A #6AE5B9
square
#7C6AE5 #E56A96 #D3E56A #6AE5B9
split-complementary
#7C6AE5 #E5B96A #96E56A
monochromatic
#3520B5 #4E36DC #7C6AE5 #AA9EEE #D8D2F7

Accessibility & contrast

On white

4.16
#7C6AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#7C6AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C6AE5
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6AE5#FFFFFF#000000##000000
##7C6AE51.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2980E9
Deuteranopia (green-blind)
#2679E2
Tritanopia (blue-blind)
#5A859D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7c6ae5;
/* rgb */ color: rgb(124, 106, 229);
/* oklch */ color: oklch(60.3% 0.179 286.4);
Tailwind
colors: {
  custom: {
    50: '#a895ee',
    500: '#7c6ae5',
    950: '#000000',
  },
}
SCSS
$custom: #7c6ae5;
$custom-light: #a895ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6ae5",
  "rgb": {
    "r": 124,
    "g": 106,
    "b": 229
  },
  "hsl": {
    "h": 248.78,
    "s": 70.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60255,
    "c": 0.17943,
    "h": 286.4
  },
  "luminance": 0.2025
}

Semantic roles & 50–950 ramp

primary
#7C6AE5
secondary
#E4EAC1
accent
#D213B6
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7C6AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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