#7C6AF8#7C6AF8

#7C6AF8 is a mid, highly saturated blue. Relative luminance 0.214; OKLCH L 61.6% C 0.204 H 284.4°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7C6AF8
RGBrgb(124, 106, 248)
HSLhsl(248, 91%, 69%)
HSVhsv(248, 57%, 97%)
CMYKcmyk(50%, 57.3%, 0%, 2.7%)
CIE-LABlab(53.35, 43.03, -69.03)
CIE-LCHlch(53.35, 81.35, 301.94°)
OKLaboklab(61.56% 0.0509 -0.1975)
OKLCHoklch(61.56% 0.204 284.4)
XYZxyz(30.4044, 21.3689, 91.3113)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6AF8 #E6F86A
analogous
#6A9FF8 #7C6AF8 #C36AF8
triadic
#7C6AF8 #F87C6A #6AF87C
tetradic
#7C6AF8 #F86A9F #E6F86A #6AF8C3
square
#7C6AF8 #F86A9F #E6F86A #6AF8C3
split-complementary
#7C6AF8 #F8C36A #9FF86A
monochromatic
#250ADD #4930F5 #7C6AF8 #AFA4FB #E3DFFD

Accessibility & contrast

On white

3.98
#7C6AF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C6AF8#FFFFFF#000000##000000
##7C6AF81.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FD
Deuteranopia (green-blind)
#007BF5
Tritanopia (blue-blind)
#4D8BA7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7c6af8;
/* rgb */ color: rgb(124, 106, 248);
/* oklch */ color: oklch(61.6% 0.204 284.4);
Tailwind
colors: {
  custom: {
    50: '#aa95fb',
    500: '#7c6af8',
    950: '#000000',
  },
}
SCSS
$custom: #7c6af8;
$custom-light: #aa95fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6af8",
  "rgb": {
    "r": 124,
    "g": 106,
    "b": 248
  },
  "hsl": {
    "h": 247.606,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.61561,
    "c": 0.20394,
    "h": 284.4
  },
  "luminance": 0.2137
}

Semantic roles & 50–950 ramp

primary
#7C6AF8
secondary
#EEF3CA
accent
#E600C8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7C6AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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