#7E6EDA#7E6EDA

#7E6EDA is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.4% C 0.159 H 287.4°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7E6EDA
RGBrgb(126, 110, 218)
HSLhsl(249, 59%, 64%)
HSVhsv(249, 50%, 85%)
CMYKcmyk(42.2%, 49.5%, 0%, 14.5%)
CIE-LABlab(52.56, 32.47, -53.48)
CIE-LCHlch(52.56, 62.57, 301.26°)
OKLaboklab(60.42% 0.0477 -0.1517)
OKLCHoklch(60.42% 0.159 287.4)
XYZxyz(26.8314, 20.6485, 68.8879)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6EDA #CADA6E
analogous
#6E94DA #7E6EDA #B46EDA
triadic
#7E6EDA #DA7E6E #6EDA7E
tetradic
#7E6EDA #DA6E94 #CADA6E #6EDAB4
square
#7E6EDA #DA6E94 #CADA6E #6EDAB4
split-complementary
#7E6EDA #DAB46E #94DA6E
monochromatic
#3C2AA4 #533DCE #7E6EDA #A99FE6 #D5D0F3

Accessibility & contrast

On white

4.09
#7E6EDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#7E6EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6EDA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6EDA#FFFFFF#000000##000000
##7E6EDA1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4180DE
Deuteranopia (green-blind)
#407BD8
Tritanopia (blue-blind)
#63849A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7e6eda;
/* rgb */ color: rgb(126, 110, 218);
/* oklch */ color: oklch(60.4% 0.159 287.4);
Tailwind
colors: {
  custom: {
    50: '#a898e6',
    500: '#7e6eda',
    950: '#000000',
  },
}
SCSS
$custom: #7e6eda;
$custom-light: #a898e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6eda",
  "rgb": {
    "r": 126,
    "g": 110,
    "b": 218
  },
  "hsl": {
    "h": 248.889,
    "s": 59.341,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60415,
    "c": 0.15904,
    "h": 287.4
  },
  "luminance": 0.20649
}

Semantic roles & 50–950 ramp

primary
#7E6EDA
secondary
#DFE5BF
accent
#C71FAE
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7E6EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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