#7E6CFB#7E6CFB

#7E6CFB is a light, highly saturated blue. Relative luminance 0.221; OKLCH L 62.3% C 0.205 H 284.5°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7E6CFB
RGBrgb(126, 108, 251)
HSLhsl(248, 95%, 70%)
HSVhsv(248, 57%, 98%)
CMYKcmyk(49.8%, 57%, 0%, 1.6%)
CIE-LABlab(54.16, 43.15, -69.38)
CIE-LCHlch(54.16, 81.70, 301.87°)
OKLaboklab(62.26% 0.0512 -0.1985)
OKLCHoklch(62.26% 0.205 284.5)
XYZxyz(31.3741, 22.1242, 93.8653)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6CFB #E9FB6C
analogous
#6CA2FB #7E6CFB #C56CFB
triadic
#7E6CFB #FB7E6C #6CFB7E
tetradic
#7E6CFB #FB6CA2 #E9FB6C #6CFBC5
square
#7E6CFB #FB6CA2 #E9FB6C #6CFBC5
split-complementary
#7E6CFB #FBC56C #A2FB6C
monochromatic
#2206E6 #4A30F9 #7E6CFB #B2A8FD #E5E1FE

Accessibility & contrast

On white

3.87
#7E6CFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#7E6CFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6CFB
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6CFB#FFFFFF#000000##000000
##7E6CFB1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#007DF8
Tritanopia (blue-blind)
#4F8DA9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e6cfb;
/* rgb */ color: rgb(126, 108, 251);
/* oklch */ color: oklch(62.3% 0.205 284.5);
Tailwind
colors: {
  custom: {
    50: '#ac97fd',
    500: '#7e6cfb',
    950: '#000000',
  },
}
SCSS
$custom: #7e6cfb;
$custom-light: #ac97fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6cfb",
  "rgb": {
    "r": 126,
    "g": 108,
    "b": 251
  },
  "hsl": {
    "h": 247.552,
    "s": 94.702,
    "l": 70.392
  },
  "oklch": {
    "l": 0.6226,
    "c": 0.20497,
    "h": 284.5
  },
  "luminance": 0.22126
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E6CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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