#7E6CF5#7E6CF5

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

Color values

HEX#7E6CF5
RGBrgb(126, 108, 245)
HSLhsl(248, 87%, 69%)
HSVhsv(248, 56%, 96%)
CMYKcmyk(48.6%, 55.9%, 0%, 3.9%)
CIE-LABlab(53.76, 41.40, -66.69)
CIE-LCHlch(53.76, 78.50, 301.83°)
OKLaboklab(61.84% 0.0512 -0.1905)
OKLCHoklch(61.84% 0.197 285)
XYZxyz(30.4433, 21.7518, 88.9629)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6CF5 #E3F56C
analogous
#6C9FF5 #7E6CF5 #C36CF5
triadic
#7E6CF5 #F57E6C #6CF57E
tetradic
#7E6CF5 #F56C9F #E3F56C #6CF5C3
square
#7E6CF5 #F56C9F #E3F56C #6CF5C3
split-complementary
#7E6CF5 #F5C36C #9FF56C
monochromatic
#290FD8 #4C33F1 #7E6CF5 #B0A5F9 #E3DFFD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E6CF5#FFFFFF#000000##000000
##7E6CF51.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)
#0884FA
Deuteranopia (green-blind)
#007CF2
Tritanopia (blue-blind)
#538BA6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e6cf5;
/* rgb */ color: rgb(126, 108, 245);
/* oklch */ color: oklch(61.8% 0.197 285.0);
Tailwind
colors: {
  custom: {
    50: '#ab96f9',
    500: '#7e6cf5',
    950: '#000000',
  },
}
SCSS
$custom: #7e6cf5;
$custom-light: #ab96f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6cf5",
  "rgb": {
    "r": 126,
    "g": 108,
    "b": 245
  },
  "hsl": {
    "h": 247.883,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.61842,
    "c": 0.19731,
    "h": 285
  },
  "luminance": 0.21753
}

Semantic roles & 50–950 ramp

primary
#7E6CF5
secondary
#EDF2CA
accent
#E402C6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E6CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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