#7C6FEE#7C6FEE

#7C6FEE is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.7% C 0.184 H 284.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7C6FEE
RGBrgb(124, 111, 238)
HSLhsl(246, 79%, 68%)
HSVhsv(246, 53%, 93%)
CMYKcmyk(47.9%, 53.4%, 0%, 6.7%)
CIE-LABlab(53.84, 37.20, -62.67)
CIE-LCHlch(53.84, 72.88, 300.69°)
OKLaboklab(61.72% 0.0454 -0.1788)
OKLCHoklch(61.72% 0.184 284.2)
XYZxyz(29.4246, 21.8256, 83.5347)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6FEE #E1EE6F
analogous
#6FA1EE #7C6FEE #BB6FEE
triadic
#7C6FEE #EE7C6F #6FEE7C
tetradic
#7C6FEE #EE6FA1 #E1EE6F #6FEEBB
square
#7C6FEE #EE6FA1 #E1EE6F #6FEEBB
split-complementary
#7C6FEE #EEBB6F #A1EE6F
monochromatic
#2A18CB #4A38E8 #7C6FEE #AEA6F4 #E0DCFB

Accessibility & contrast

On white

3.91
#7C6FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#7C6FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C6FEE
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6FEE#FFFFFF#000000##000000
##7C6FEE1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A85F2
Deuteranopia (green-blind)
#227DEB
Tritanopia (blue-blind)
#548BA4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7c6fee;
/* rgb */ color: rgb(124, 111, 238);
/* oklch */ color: oklch(61.7% 0.184 284.2);
Tailwind
colors: {
  custom: {
    50: '#a998f4',
    500: '#7c6fee',
    950: '#000000',
  },
}
SCSS
$custom: #7c6fee;
$custom-light: #a998f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6fee",
  "rgb": {
    "r": 124,
    "g": 111,
    "b": 238
  },
  "hsl": {
    "h": 246.142,
    "s": 78.882,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61718,
    "c": 0.18444,
    "h": 284.2
  },
  "luminance": 0.21827
}

Semantic roles & 50–950 ramp

primary
#7C6FEE
secondary
#ECF0C9
accent
#DB0AC6
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7C6FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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