#7C6CF8#7C6CF8

#7C6CF8 is a mid, highly saturated blue. Relative luminance 0.218; OKLCH L 61.9% C 0.201 H 284.0°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7C6CF8
RGBrgb(124, 108, 248)
HSLhsl(247, 91%, 70%)
HSVhsv(247, 56%, 97%)
CMYKcmyk(50%, 56.5%, 0%, 2.7%)
CIE-LABlab(53.80, 41.88, -68.31)
CIE-LCHlch(53.80, 80.12, 301.51°)
OKLaboklab(61.89% 0.0488 -0.1954)
OKLCHoklch(61.89% 0.201 284)
XYZxyz(30.6129, 21.7859, 91.3808)
Luminance0.2179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6CF8 #E8F86C
analogous
#6CA2F8 #7C6CF8 #C26CF8
triadic
#7C6CF8 #F87C6C #6CF87C
tetradic
#7C6CF8 #F86CA2 #E8F86C #6CF8C2
square
#7C6CF8 #F86CA2 #E8F86C #6CF8C2
split-complementary
#7C6CF8 #F8C26C #A2F86C
monochromatic
#230BDF #4832F5 #7C6CF8 #B0A6FB #E4E1FE

Accessibility & contrast

On white

3.92
#7C6CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#7C6CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C6CF8
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6CF8#FFFFFF#000000##000000
##7C6CF81.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FD
Deuteranopia (green-blind)
#007CF5
Tritanopia (blue-blind)
#4D8CA8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7c6cf8;
/* rgb */ color: rgb(124, 108, 248);
/* oklch */ color: oklch(61.9% 0.201 284.0);
Tailwind
colors: {
  custom: {
    50: '#aa96fb',
    500: '#7c6cf8',
    950: '#000000',
  },
}
SCSS
$custom: #7c6cf8;
$custom-light: #aa96fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6cf8",
  "rgb": {
    "r": 124,
    "g": 108,
    "b": 248
  },
  "hsl": {
    "h": 246.857,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.61892,
    "c": 0.20136,
    "h": 284
  },
  "luminance": 0.21788
}

Semantic roles & 50–950 ramp

primary
#7C6CF8
secondary
#EFF4CC
accent
#E600CB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7C6CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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