#7C6AFC#7C6AFC

#7C6AFC is a mid, highly saturated blue. Relative luminance 0.216; OKLCH L 61.8% C 0.209 H 284.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7C6AFC
RGBrgb(124, 106, 252)
HSLhsl(247, 96%, 70%)
HSVhsv(247, 58%, 99%)
CMYKcmyk(50.8%, 57.9%, 0%, 1.2%)
CIE-LABlab(53.62, 44.20, -70.81)
CIE-LCHlch(53.62, 83.48, 301.97°)
OKLaboklab(61.85% 0.0508 -0.2027)
OKLCHoklch(61.85% 0.209 284.1)
XYZxyz(31.0316, 21.6198, 94.6145)
Luminance0.2162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6AFC #EAFC6A
analogous
#6AA1FC #7C6AFC #C56AFC
triadic
#7C6AFC #FC7C6A #6AFC7C
tetradic
#7C6AFC #FC6AA1 #EAFC6A #6AFCC5
square
#7C6AFC #FC6AA1 #EAFC6A #6AFCC5
split-complementary
#7C6AFC #FCC56A #A1FC6A
monochromatic
#2105E7 #472EFB #7C6AFC #B1A6FD #E5E1FE

Accessibility & contrast

On white

3.94
#7C6AFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#7C6AFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C6AFC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6AFC#FFFFFF#000000##000000
##7C6AFC1.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#007BF9
Tritanopia (blue-blind)
#4A8CA9
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7c6afc;
/* rgb */ color: rgb(124, 106, 252);
/* oklch */ color: oklch(61.8% 0.209 284.1);
Tailwind
colors: {
  custom: {
    50: '#ab95fe',
    500: '#7c6afc',
    950: '#000000',
  },
}
SCSS
$custom: #7c6afc;
$custom-light: #ab95fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6afc",
  "rgb": {
    "r": 124,
    "g": 106,
    "b": 252
  },
  "hsl": {
    "h": 247.397,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.61846,
    "c": 0.209,
    "h": 284.1
  },
  "luminance": 0.21621
}

Semantic roles & 50–950 ramp

primary
#7C6AFC
secondary
#F0F5CD
accent
#E600C9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7C6AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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