#7E6DF1#7E6DF1

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

Color values

HEX#7E6DF1
RGBrgb(126, 109, 241)
HSLhsl(248, 83%, 69%)
HSVhsv(248, 55%, 95%)
CMYKcmyk(47.7%, 54.8%, 0%, 5.5%)
CIE-LABlab(53.73, 39.66, -64.52)
CIE-LCHlch(53.73, 75.73, 301.58°)
OKLaboklab(61.74% 0.0501 -0.1841)
OKLCHoklch(61.74% 0.191 285.2)
XYZxyz(29.9453, 21.7224, 85.8170)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6DF1 #E0F16D
analogous
#6D9EF1 #7E6DF1 #C06DF1
triadic
#7E6DF1 #F17E6D #6DF17E
tetradic
#7E6DF1 #F16D9E #E0F16D #6DF1C0
square
#7E6DF1 #F16D9E #E0F16D #6DF1C0
split-complementary
#7E6DF1 #F1C06D #9EF16D
monochromatic
#2C14D0 #4D35EC #7E6DF1 #AFA5F6 #E1DDFC

Accessibility & contrast

On white

3.93
#7E6DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#7E6DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6DF1
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6DF1#FFFFFF#000000##000000
##7E6DF11.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D84F5
Deuteranopia (green-blind)
#157CEE
Tritanopia (blue-blind)
#568AA5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e6df1;
/* rgb */ color: rgb(126, 109, 241);
/* oklch */ color: oklch(61.7% 0.191 285.2);
Tailwind
colors: {
  custom: {
    50: '#ab97f6',
    500: '#7e6df1',
    950: '#000000',
  },
}
SCSS
$custom: #7e6df1;
$custom-light: #ab97f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6df1",
  "rgb": {
    "r": 126,
    "g": 109,
    "b": 241
  },
  "hsl": {
    "h": 247.727,
    "s": 82.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.61736,
    "c": 0.19084,
    "h": 285.2
  },
  "luminance": 0.21724
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E6DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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