#7E6FEA#7E6FEA

#7E6FEA is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.6% C 0.179 H 285.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7E6FEA
RGBrgb(126, 111, 234)
HSLhsl(247, 75%, 68%)
HSVhsv(247, 53%, 92%)
CMYKcmyk(46.2%, 52.6%, 0%, 8.2%)
CIE-LABlab(53.75, 36.47, -60.57)
CIE-LCHlch(53.75, 70.70, 301.05°)
OKLaboklab(61.61% 0.0476 -0.1725)
OKLCHoklch(61.61% 0.179 285.4)
XYZxyz(29.1356, 21.7437, 80.4877)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6FEA #DBEA6F
analogous
#6F9EEA #7E6FEA #BB6FEA
triadic
#7E6FEA #EA7E6F #6FEA7E
tetradic
#7E6FEA #EA6F9E #DBEA6F #6FEABB
square
#7E6FEA #EA6F9E #DBEA6F #6FEABB
split-complementary
#7E6FEA #EABB6F #9EEA6F
monochromatic
#311CC2 #4E3AE2 #7E6FEA #AEA4F2 #DEDAFA

Accessibility & contrast

On white

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

On black

5.35
#7E6FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6FEA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6FEA#FFFFFF#000000##000000
##7E6FEA1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3184EE
Deuteranopia (green-blind)
#2D7DE7
Tritanopia (blue-blind)
#5A8AA2
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e6fea;
/* rgb */ color: rgb(126, 111, 234);
/* oklch */ color: oklch(61.6% 0.179 285.4);
Tailwind
colors: {
  custom: {
    50: '#aa98f1',
    500: '#7e6fea',
    950: '#000000',
  },
}
SCSS
$custom: #7e6fea;
$custom-light: #aa98f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6fea",
  "rgb": {
    "r": 126,
    "g": 111,
    "b": 234
  },
  "hsl": {
    "h": 247.317,
    "s": 74.545,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61613,
    "c": 0.17899,
    "h": 285.4
  },
  "luminance": 0.21745
}

Semantic roles & 50–950 ramp

primary
#7E6FEA
secondary
#E9EDC7
accent
#D70FBE
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7E6FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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