#7C6CF5#7C6CF5

#7C6CF5 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.7% C 0.198 H 284.3°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7C6CF5
RGBrgb(124, 108, 245)
HSLhsl(247, 87%, 69%)
HSVhsv(247, 56%, 96%)
CMYKcmyk(49.4%, 55.9%, 0%, 3.9%)
CIE-LABlab(53.60, 41.00, -66.96)
CIE-LCHlch(53.60, 78.52, 301.48°)
OKLaboklab(61.68% 0.0488 -0.1914)
OKLCHoklch(61.68% 0.198 284.3)
XYZxyz(30.1512, 21.6013, 88.9492)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6CF5 #E5F56C
analogous
#6CA1F5 #7C6CF5 #C06CF5
triadic
#7C6CF5 #F57C6C #6CF57C
tetradic
#7C6CF5 #F56CA1 #E5F56C #6CF5C0
square
#7C6CF5 #F56CA1 #E5F56C #6CF5C0
split-complementary
#7C6CF5 #F5C06C #A1F56C
monochromatic
#260FD8 #4933F1 #7C6CF5 #AFA5F9 #E2DFFD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C6CF5#FFFFFF#000000##000000
##7C6CF51.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)
#0584FA
Deuteranopia (green-blind)
#007CF2
Tritanopia (blue-blind)
#4F8BA6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7c6cf5;
/* rgb */ color: rgb(124, 108, 245);
/* oklch */ color: oklch(61.7% 0.198 284.3);
Tailwind
colors: {
  custom: {
    50: '#aa96f9',
    500: '#7c6cf5',
    950: '#000000',
  },
}
SCSS
$custom: #7c6cf5;
$custom-light: #aa96f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6cf5",
  "rgb": {
    "r": 124,
    "g": 108,
    "b": 245
  },
  "hsl": {
    "h": 247.007,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.61683,
    "c": 0.19752,
    "h": 284.3
  },
  "luminance": 0.21603
}

Semantic roles & 50–950 ramp

primary
#7C6CF5
secondary
#EEF2CA
accent
#E402C9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7C6CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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