#7E6FDF#7E6FDF

#7E6FDF is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.9% C 0.164 H 286.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7E6FDF
RGBrgb(126, 111, 223)
HSLhsl(248, 64%, 65%)
HSVhsv(248, 50%, 87%)
CMYKcmyk(43.5%, 50.2%, 0%, 12.5%)
CIE-LABlab(53.09, 33.30, -55.46)
CIE-LCHlch(53.09, 64.69, 300.99°)
OKLaboklab(60.91% 0.0469 -0.1575)
OKLCHoklch(60.91% 0.164 286.6)
XYZxyz(27.6041, 21.1311, 72.4220)
Luminance0.2113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6FDF #D0DF6F
analogous
#6F98DF #7E6FDF #B66FDF
triadic
#7E6FDF #DF7E6F #6FDF7E
tetradic
#7E6FDF #DF6F98 #D0DF6F #6FDFB6
square
#7E6FDF #DF6F98 #D0DF6F #6FDFB6
split-complementary
#7E6FDF #DFB66F #98DF6F
monochromatic
#3926AD #513DD4 #7E6FDF #ABA1EA #D8D3F5

Accessibility & contrast

On white

4.02
#7E6FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#7E6FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6FDF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6FDF#FFFFFF#000000##000000
##7E6FDF1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E82E3
Deuteranopia (green-blind)
#3C7CDC
Tritanopia (blue-blind)
#60879D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7e6fdf;
/* rgb */ color: rgb(126, 111, 223);
/* oklch */ color: oklch(60.9% 0.164 286.6);
Tailwind
colors: {
  custom: {
    50: '#a998e9',
    500: '#7e6fdf',
    950: '#000000',
  },
}
SCSS
$custom: #7e6fdf;
$custom-light: #a998e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6fdf",
  "rgb": {
    "r": 126,
    "g": 111,
    "b": 223
  },
  "hsl": {
    "h": 248.036,
    "s": 63.636,
    "l": 65.49
  },
  "oklch": {
    "l": 0.60906,
    "c": 0.16434,
    "h": 286.6
  },
  "luminance": 0.21132
}

Semantic roles & 50–950 ramp

primary
#7E6FDF
secondary
#E3E8C2
accent
#CB1AB4
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7E6FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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