#7C6BE6#7C6BE6

#7C6BE6 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.5% C 0.179 H 286.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7C6BE6
RGBrgb(124, 107, 230)
HSLhsl(248, 71%, 66%)
HSVhsv(248, 53%, 90%)
CMYKcmyk(46.1%, 53.5%, 0%, 9.8%)
CIE-LABlab(52.41, 37.21, -60.50)
CIE-LCHlch(52.41, 71.03, 301.60°)
OKLaboklab(60.49% 0.0496 -0.1724)
OKLCHoklch(60.49% 0.179 286)
XYZxyz(27.8486, 20.5124, 77.3395)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6BE6 #D5E66B
analogous
#6B97E6 #7C6BE6 #B96BE6
triadic
#7C6BE6 #E67C6B #6BE67C
tetradic
#7C6BE6 #E66B97 #D5E66B #6BE6B9
square
#7C6BE6 #E66B97 #D5E66B #6BE6B9
split-complementary
#7C6BE6 #E6B96B #97E66B
monochromatic
#341FB8 #4E37DD #7C6BE6 #AA9FEF #D9D4F8

Accessibility & contrast

On white

4.12
#7C6BE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#7C6BE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C6BE6
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6BE6#FFFFFF#000000##000000
##7C6BE61.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A80EA
Deuteranopia (green-blind)
#2779E3
Tritanopia (blue-blind)
#59869E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7c6be6;
/* rgb */ color: rgb(124, 107, 230);
/* oklch */ color: oklch(60.5% 0.179 286.0);
Tailwind
colors: {
  custom: {
    50: '#a896ef',
    500: '#7c6be6',
    950: '#000000',
  },
}
SCSS
$custom: #7c6be6;
$custom-light: #a896ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6be6",
  "rgb": {
    "r": 124,
    "g": 107,
    "b": 230
  },
  "hsl": {
    "h": 248.293,
    "s": 71.098,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60493,
    "c": 0.17937,
    "h": 286
  },
  "luminance": 0.20514
}

Semantic roles & 50–950 ramp

primary
#7C6BE6
secondary
#E5EBC2
accent
#D312B8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7C6BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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