#7E6FFA#7E6FFA

#7E6FFA is a light, vivid blue. Relative luminance 0.227; OKLCH L 62.7% C 0.200 H 283.9°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7E6FFA
RGBrgb(126, 111, 250)
HSLhsl(246, 93%, 71%)
HSVhsv(246, 56%, 98%)
CMYKcmyk(49.6%, 55.6%, 0%, 2%)
CIE-LABlab(54.77, 41.13, -67.85)
CIE-LCHlch(54.77, 79.34, 301.22°)
OKLaboklab(62.69% 0.0481 -0.1939)
OKLCHoklch(62.69% 0.2 283.9)
XYZxyz(31.5388, 22.7050, 93.1446)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6FFA #EBFA6F
analogous
#6FA5FA #7E6FFA #C36FFA
triadic
#7E6FFA #FA7E6F #6FFA7E
tetradic
#7E6FFA #FA6FA5 #EBFA6F #6FFAC3
square
#7E6FFA #FA6FA5 #EBFA6F #6FFAC3
split-complementary
#7E6FFA #FAC36F #A5FA6F
monochromatic
#2008E7 #4934F8 #7E6FFA #B3AAFC #E5E1FE

Accessibility & contrast

On white

3.79
#7E6FFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#7E6FFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6FFA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6FFA#FFFFFF#000000##000000
##7E6FFA1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B87FF
Deuteranopia (green-blind)
#007FF7
Tritanopia (blue-blind)
#4F8FAA
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7e6ffa;
/* rgb */ color: rgb(126, 111, 250);
/* oklch */ color: oklch(62.7% 0.200 283.9);
Tailwind
colors: {
  custom: {
    50: '#ac99fd',
    500: '#7e6ffa',
    950: '#000000',
  },
}
SCSS
$custom: #7e6ffa;
$custom-light: #ac99fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6ffa",
  "rgb": {
    "r": 126,
    "g": 111,
    "b": 250
  },
  "hsl": {
    "h": 246.475,
    "s": 93.289,
    "l": 70.784
  },
  "oklch": {
    "l": 0.62689,
    "c": 0.19979,
    "h": 283.9
  },
  "luminance": 0.22707
}

Semantic roles & 50–950 ramp

primary
#7E6FFA
secondary
#F1F5D0
accent
#E600CD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7E6FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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