#7C6EDA#7C6EDA

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

Color values

HEX#7C6EDA
RGBrgb(124, 110, 218)
HSLhsl(248, 59%, 64%)
HSVhsv(248, 50%, 85%)
CMYKcmyk(43.1%, 49.5%, 0%, 14.5%)
CIE-LABlab(52.40, 32.00, -53.76)
CIE-LCHlch(52.40, 62.56, 300.76°)
OKLaboklab(60.25% 0.0453 -0.1526)
OKLCHoklch(60.25% 0.159 286.5)
XYZxyz(26.5394, 20.4979, 68.8742)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6EDA #CCDA6E
analogous
#6E96DA #7C6EDA #B26EDA
triadic
#7C6EDA #DA7C6E #6EDA7C
tetradic
#7C6EDA #DA6E96 #CCDA6E #6EDAB2
square
#7C6EDA #DA6E96 #CCDA6E #6EDAB2
split-complementary
#7C6EDA #DAB26E #96DA6E
monochromatic
#3A2AA4 #503DCE #7C6EDA #A89FE6 #D4D0F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C6EDA#FFFFFF#000000##000000
##7C6EDA1.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)
#4080DE
Deuteranopia (green-blind)
#3E7AD8
Tritanopia (blue-blind)
#60859A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7c6eda;
/* rgb */ color: rgb(124, 110, 218);
/* oklch */ color: oklch(60.2% 0.159 286.5);
Tailwind
colors: {
  custom: {
    50: '#a798e6',
    500: '#7c6eda',
    950: '#000000',
  },
}
SCSS
$custom: #7c6eda;
$custom-light: #a798e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6eda",
  "rgb": {
    "r": 124,
    "g": 110,
    "b": 218
  },
  "hsl": {
    "h": 247.778,
    "s": 59.341,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60249,
    "c": 0.15917,
    "h": 286.5
  },
  "luminance": 0.20499
}

Semantic roles & 50–950 ramp

primary
#7C6EDA
secondary
#E0E5BF
accent
#C71FB1
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7C6EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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