#7C6AEB#7C6AEB

#7C6AEB is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.7% C 0.187 H 285.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7C6AEB
RGBrgb(124, 106, 235)
HSLhsl(248, 76%, 67%)
HSVhsv(248, 55%, 92%)
CMYKcmyk(47.2%, 54.9%, 0%, 7.8%)
CIE-LABlab(52.50, 39.24, -63.16)
CIE-LCHlch(52.50, 74.36, 301.85°)
OKLaboklab(60.66% 0.0508 -0.1802)
OKLCHoklch(60.66% 0.187 285.7)
XYZxyz(28.4572, 20.5900, 81.0560)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6AEB #D9EB6A
analogous
#6A99EB #7C6AEB #BD6AEB
triadic
#7C6AEB #EB7C6A #6AEB7C
tetradic
#7C6AEB #EB6A99 #D9EB6A #6AEBBD
square
#7C6AEB #EB6A99 #D9EB6A #6AEBBD
split-complementary
#7C6AEB #EBBD6A #99EB6A
monochromatic
#311AC1 #4D34E4 #7C6AEB #ABA0F2 #DBD6F9

Accessibility & contrast

On white

4.10
#7C6AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#7C6AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C6AEB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6AEB#FFFFFF#000000##000000
##7C6AEB1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D81EF
Deuteranopia (green-blind)
#1779E8
Tritanopia (blue-blind)
#5687A0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7c6aeb;
/* rgb */ color: rgb(124, 106, 235);
/* oklch */ color: oklch(60.7% 0.187 285.7);
Tailwind
colors: {
  custom: {
    50: '#a995f2',
    500: '#7c6aeb',
    950: '#000000',
  },
}
SCSS
$custom: #7c6aeb;
$custom-light: #a995f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6aeb",
  "rgb": {
    "r": 124,
    "g": 106,
    "b": 235
  },
  "hsl": {
    "h": 248.372,
    "s": 76.331,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60659,
    "c": 0.18726,
    "h": 285.7
  },
  "luminance": 0.20591
}

Semantic roles & 50–950 ramp

primary
#7C6AEB
secondary
#E7EDC4
accent
#D90DBC
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7C6AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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