#7E6CFD#7E6CFD

#7E6CFD is a light, highly saturated blue. Relative luminance 0.223; OKLCH L 62.4% C 0.207 H 284.3°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7E6CFD
RGBrgb(126, 108, 253)
HSLhsl(247, 97%, 71%)
HSVhsv(247, 57%, 99%)
CMYKcmyk(50.2%, 57.3%, 0%, 0.8%)
CIE-LABlab(54.29, 43.73, -70.27)
CIE-LCHlch(54.29, 82.77, 301.89°)
OKLaboklab(62.4% 0.0512 -0.2011)
OKLCHoklch(62.4% 0.208 284.3)
XYZxyz(31.6910, 22.2509, 95.5344)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6CFD #EBFD6C
analogous
#6CA2FD #7E6CFD #C66CFD
triadic
#7E6CFD #FD7E6C #6CFD7E
tetradic
#7E6CFD #FD6CA2 #EBFD6C #6CFDC6
square
#7E6CFD #FD6CA2 #EBFD6C #6CFDC6
split-complementary
#7E6CFD #FDC66C #A2FD6C
monochromatic
#2003EB #4930FC #7E6CFD #B3A8FE #E5E1FF

Accessibility & contrast

On white

3.85
#7E6CFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#7E6CFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6CFD
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6CFD#FFFFFF#000000##000000
##7E6CFD1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#007DFA
Tritanopia (blue-blind)
#4D8DAA
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7e6cfd;
/* rgb */ color: rgb(126, 108, 253);
/* oklch */ color: oklch(62.4% 0.207 284.3);
Tailwind
colors: {
  custom: {
    50: '#ac97ff',
    500: '#7e6cfd',
    950: '#000000',
  },
}
SCSS
$custom: #7e6cfd;
$custom-light: #ac97ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6cfd",
  "rgb": {
    "r": 126,
    "g": 108,
    "b": 253
  },
  "hsl": {
    "h": 247.448,
    "s": 97.315,
    "l": 70.784
  },
  "oklch": {
    "l": 0.62401,
    "c": 0.2075,
    "h": 284.3
  },
  "luminance": 0.22253
}

Semantic roles & 50–950 ramp

primary
#7E6CFD
secondary
#F1F6CF
accent
#E600C9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7E6CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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