#7E6CFA#7E6CFA

#7E6CFA is a light, highly saturated blue. Relative luminance 0.221; OKLCH L 62.2% C 0.204 H 284.6°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7E6CFA
RGBrgb(126, 108, 250)
HSLhsl(248, 93%, 70%)
HSVhsv(248, 57%, 98%)
CMYKcmyk(49.6%, 56.8%, 0%, 2%)
CIE-LABlab(54.09, 42.85, -68.94)
CIE-LCHlch(54.09, 81.17, 301.87°)
OKLaboklab(62.19% 0.0512 -0.1971)
OKLCHoklch(62.19% 0.204 284.6)
XYZxyz(31.2169, 22.0613, 93.0373)
Luminance0.2206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6CFA #E8FA6C
analogous
#6CA1FA #7E6CFA #C56CFA
triadic
#7E6CFA #FA7E6C #6CFA7E
tetradic
#7E6CFA #FA6CA1 #E8FA6C #6CFAC5
square
#7E6CFA #FA6CA1 #E8FA6C #6CFAC5
split-complementary
#7E6CFA #FAC56C #A1FA6C
monochromatic
#2408E4 #4A31F8 #7E6CFA #B2A7FC #E5E1FE

Accessibility & contrast

On white

3.88
#7E6CFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#7E6CFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6CFA
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6CFA#FFFFFF#000000##000000
##7E6CFA1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#007DF7
Tritanopia (blue-blind)
#508DA9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e6cfa;
/* rgb */ color: rgb(126, 108, 250);
/* oklch */ color: oklch(62.2% 0.204 284.6);
Tailwind
colors: {
  custom: {
    50: '#ac97fd',
    500: '#7e6cfa',
    950: '#000000',
  },
}
SCSS
$custom: #7e6cfa;
$custom-light: #ac97fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6cfa",
  "rgb": {
    "r": 126,
    "g": 108,
    "b": 250
  },
  "hsl": {
    "h": 247.606,
    "s": 93.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.6219,
    "c": 0.20369,
    "h": 284.6
  },
  "luminance": 0.22063
}

Semantic roles & 50–950 ramp

primary
#7E6CFA
secondary
#F0F5CD
accent
#E600C8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7E6CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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