#7C6BF8#7C6BF8

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

Color values

HEX#7C6BF8
RGBrgb(124, 107, 248)
HSLhsl(247, 91%, 70%)
HSVhsv(247, 57%, 97%)
CMYKcmyk(50%, 56.9%, 0%, 2.7%)
CIE-LABlab(53.57, 42.45, -68.67)
CIE-LCHlch(53.57, 80.74, 301.72°)
OKLaboklab(61.73% 0.0498 -0.1964)
OKLCHoklch(61.73% 0.203 284.2)
XYZxyz(30.5081, 21.5762, 91.3458)
Luminance0.2158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6BF8 #E7F86B
analogous
#6BA1F8 #7C6BF8 #C36BF8
triadic
#7C6BF8 #F87C6B #6BF87C
tetradic
#7C6BF8 #F86BA1 #E7F86B #6BF8C3
square
#7C6BF8 #F86BA1 #E7F86B #6BF8C3
split-complementary
#7C6BF8 #F8C36B #A1F86B
monochromatic
#240BDE #4831F5 #7C6BF8 #B0A5FB #E3E0FE

Accessibility & contrast

On white

3.95
#7C6BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C6BF8#FFFFFF#000000##000000
##7C6BF81.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FD
Deuteranopia (green-blind)
#007CF5
Tritanopia (blue-blind)
#4D8BA7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7c6bf8;
/* rgb */ color: rgb(124, 107, 248);
/* oklch */ color: oklch(61.7% 0.203 284.2);
Tailwind
colors: {
  custom: {
    50: '#aa96fb',
    500: '#7c6bf8',
    950: '#000000',
  },
}
SCSS
$custom: #7c6bf8;
$custom-light: #aa96fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6bf8",
  "rgb": {
    "r": 124,
    "g": 107,
    "b": 248
  },
  "hsl": {
    "h": 247.234,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.61726,
    "c": 0.20265,
    "h": 284.2
  },
  "luminance": 0.21578
}

Semantic roles & 50–950 ramp

primary
#7C6BF8
secondary
#EFF4CB
accent
#E600CA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7C6BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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