#7C6BEC#7C6BEC

#7C6BEC is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.9% C 0.187 H 285.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7C6BEC
RGBrgb(124, 107, 236)
HSLhsl(248, 77%, 67%)
HSVhsv(248, 55%, 93%)
CMYKcmyk(47.5%, 54.7%, 0%, 7.5%)
CIE-LABlab(52.79, 38.95, -63.25)
CIE-LCHlch(52.79, 74.28, 301.63°)
OKLaboklab(60.9% 0.0497 -0.1805)
OKLCHoklch(60.9% 0.187 285.4)
XYZxyz(28.7057, 20.8553, 81.8535)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6BEC #DBEC6B
analogous
#6B9BEC #7C6BEC #BD6BEC
triadic
#7C6BEC #EC7C6B #6BEC7C
tetradic
#7C6BEC #EC6B9B #DBEC6B #6BECBD
square
#7C6BEC #EC6B9B #DBEC6B #6BECBD
split-complementary
#7C6BEC #ECBD6B #9BEC6B
monochromatic
#3019C4 #4C35E5 #7C6BEC #ACA1F3 #DCD7FA

Accessibility & contrast

On white

4.06
#7C6BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#7C6BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C6BEC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6BEC#FFFFFF#000000##000000
##7C6BEC1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F82F0
Deuteranopia (green-blind)
#187AE9
Tritanopia (blue-blind)
#5588A1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7c6bec;
/* rgb */ color: rgb(124, 107, 236);
/* oklch */ color: oklch(60.9% 0.187 285.4);
Tailwind
colors: {
  custom: {
    50: '#a996f3',
    500: '#7c6bec',
    950: '#000000',
  },
}
SCSS
$custom: #7c6bec;
$custom-light: #a996f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6bec",
  "rgb": {
    "r": 124,
    "g": 107,
    "b": 236
  },
  "hsl": {
    "h": 247.907,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60896,
    "c": 0.18721,
    "h": 285.4
  },
  "luminance": 0.20857
}

Semantic roles & 50–950 ramp

primary
#7C6BEC
secondary
#E8EEC5
accent
#D90CBE
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7C6BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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