#7C6FED#7C6FED

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

Color values

HEX#7C6FED
RGBrgb(124, 111, 237)
HSLhsl(246, 78%, 68%)
HSVhsv(246, 53%, 93%)
CMYKcmyk(47.7%, 53.2%, 0%, 7.1%)
CIE-LABlab(53.78, 36.91, -62.22)
CIE-LCHlch(53.78, 72.34, 300.68°)
OKLaboklab(61.65% 0.0453 -0.1774)
OKLCHoklch(61.65% 0.183 284.3)
XYZxyz(29.2781, 21.7670, 82.7631)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6FED #E0ED6F
analogous
#6FA1ED #7C6FED #BB6FED
triadic
#7C6FED #ED7C6F #6FED7C
tetradic
#7C6FED #ED6FA1 #E0ED6F #6FEDBB
square
#7C6FED #ED6FA1 #E0ED6F #6FEDBB
split-complementary
#7C6FED #EDBB6F #A1ED6F
monochromatic
#2B19C9 #4B39E6 #7C6FED #ADA5F4 #DFDCFB

Accessibility & contrast

On white

3.92
#7C6FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#7C6FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C6FED
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6FED#FFFFFF#000000##000000
##7C6FED1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B84F1
Deuteranopia (green-blind)
#247DEA
Tritanopia (blue-blind)
#548BA3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7c6fed;
/* rgb */ color: rgb(124, 111, 237);
/* oklch */ color: oklch(61.7% 0.183 284.3);
Tailwind
colors: {
  custom: {
    50: '#a998f4',
    500: '#7c6fed',
    950: '#000000',
  },
}
SCSS
$custom: #7c6fed;
$custom-light: #a998f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6fed",
  "rgb": {
    "r": 124,
    "g": 111,
    "b": 237
  },
  "hsl": {
    "h": 246.19,
    "s": 77.778,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61651,
    "c": 0.18313,
    "h": 284.3
  },
  "luminance": 0.21768
}

Semantic roles & 50–950 ramp

primary
#7C6FED
secondary
#EBEFC9
accent
#DA0BC5
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7C6FED

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

Preview Lab → · Contrast checker → · Palette generator →

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