#7C6EEA#7C6EEA

#7C6EEA is a mid, vivid blue. Relative luminance 0.214; OKLCH L 61.3% C 0.181 H 284.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7C6EEA
RGBrgb(124, 110, 234)
HSLhsl(247, 75%, 67%)
HSVhsv(247, 53%, 92%)
CMYKcmyk(47%, 53%, 0%, 8.2%)
CIE-LABlab(53.36, 36.62, -61.22)
CIE-LCHlch(53.36, 71.33, 300.89°)
OKLaboklab(61.28% 0.0463 -0.1745)
OKLCHoklch(61.28% 0.181 284.9)
XYZxyz(28.7350, 21.3761, 80.4379)
Luminance0.2138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6EEA #DCEA6E
analogous
#6E9EEA #7C6EEA #BA6EEA
triadic
#7C6EEA #EA7C6E #6EEA7C
tetradic
#7C6EEA #EA6E9E #DCEA6E #6EEABA
square
#7C6EEA #EA6E9E #DCEA6E #6EEABA
split-complementary
#7C6EEA #EABA6E #9EEA6E
monochromatic
#2F1CC2 #4C39E2 #7C6EEA #ACA3F2 #DDD9F9

Accessibility & contrast

On white

3.98
#7C6EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#7C6EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C6EEA
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6EEA#FFFFFF#000000##000000
##7C6EEA1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D83EE
Deuteranopia (green-blind)
#277CE7
Tritanopia (blue-blind)
#5689A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7c6eea;
/* rgb */ color: rgb(124, 110, 234);
/* oklch */ color: oklch(61.3% 0.181 284.9);
Tailwind
colors: {
  custom: {
    50: '#a998f1',
    500: '#7c6eea',
    950: '#000000',
  },
}
SCSS
$custom: #7c6eea;
$custom-light: #a998f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6eea",
  "rgb": {
    "r": 124,
    "g": 110,
    "b": 234
  },
  "hsl": {
    "h": 246.774,
    "s": 74.699,
    "l": 67.451
  },
  "oklch": {
    "l": 0.61278,
    "c": 0.18054,
    "h": 284.9
  },
  "luminance": 0.21377
}

Semantic roles & 50–950 ramp

primary
#7C6EEA
secondary
#E9EDC7
accent
#D70FC0
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7C6EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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