#7E6CF3#7E6CF3

#7E6CF3 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.7% C 0.195 H 285.2°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7E6CF3
RGBrgb(126, 108, 243)
HSLhsl(248, 85%, 69%)
HSVhsv(248, 56%, 95%)
CMYKcmyk(48.1%, 55.6%, 0%, 4.7%)
CIE-LABlab(53.63, 40.82, -65.79)
CIE-LCHlch(53.63, 77.42, 301.82°)
OKLaboklab(61.7% 0.0512 -0.1879)
OKLCHoklch(61.7% 0.195 285.2)
XYZxyz(30.1396, 21.6304, 87.3636)
Luminance0.2163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6CF3 #E1F36C
analogous
#6C9EF3 #7E6CF3 #C26CF3
triadic
#7E6CF3 #F37E6C #6CF37E
tetradic
#7E6CF3 #F36C9E #E1F36C #6CF3C2
square
#7E6CF3 #F36C9E #E1F36C #6CF3C2
split-complementary
#7E6CF3 #F3C26C #9EF36C
monochromatic
#2B11D3 #4C33EE #7E6CF3 #B0A5F8 #E1DDFC

Accessibility & contrast

On white

3.94
#7E6CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#7E6CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6CF3
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6CF3#FFFFFF#000000##000000
##7E6CF31.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1284F8
Deuteranopia (green-blind)
#057CF0
Tritanopia (blue-blind)
#558AA5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e6cf3;
/* rgb */ color: rgb(126, 108, 243);
/* oklch */ color: oklch(61.7% 0.195 285.2);
Tailwind
colors: {
  custom: {
    50: '#ab96f8',
    500: '#7e6cf3',
    950: '#000000',
  },
}
SCSS
$custom: #7e6cf3;
$custom-light: #ab96f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6cf3",
  "rgb": {
    "r": 126,
    "g": 108,
    "b": 243
  },
  "hsl": {
    "h": 248,
    "s": 84.906,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61704,
    "c": 0.19475,
    "h": 285.2
  },
  "luminance": 0.21632
}

Semantic roles & 50–950 ramp

primary
#7E6CF3
secondary
#ECF1C9
accent
#E104C4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E6CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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