#7E6FF2#7E6FF2

#7E6FF2 is a light, vivid blue. Relative luminance 0.222; OKLCH L 62.1% C 0.189 H 284.6°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7E6FF2
RGBrgb(126, 111, 242)
HSLhsl(247, 83%, 69%)
HSVhsv(247, 54%, 95%)
CMYKcmyk(47.9%, 54.1%, 0%, 5.1%)
CIE-LABlab(54.25, 38.79, -64.23)
CIE-LCHlch(54.25, 75.04, 301.13°)
OKLaboklab(62.14% 0.0479 -0.1833)
OKLCHoklch(62.14% 0.189 284.6)
XYZxyz(30.3109, 22.2138, 86.6778)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6FF2 #E3F26F
analogous
#6FA2F2 #7E6FF2 #C06FF2
triadic
#7E6FF2 #F27E6F #6FF27E
tetradic
#7E6FF2 #F26FA2 #E3F26F #6FF2C0
square
#7E6FF2 #F26FA2 #E3F26F #6FF2C0
split-complementary
#7E6FF2 #F2C06F #A2F26F
monochromatic
#2913D4 #4C37ED #7E6FF2 #B0A7F7 #E3DFFC

Accessibility & contrast

On white

3.86
#7E6FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#7E6FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6FF2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6FF2#FFFFFF#000000##000000
##7E6FF21.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2386F6
Deuteranopia (green-blind)
#1B7EEF
Tritanopia (blue-blind)
#558CA6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7e6ff2;
/* rgb */ color: rgb(126, 111, 242);
/* oklch */ color: oklch(62.1% 0.189 284.6);
Tailwind
colors: {
  custom: {
    50: '#ab98f7',
    500: '#7e6ff2',
    950: '#000000',
  },
}
SCSS
$custom: #7e6ff2;
$custom-light: #ab98f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6ff2",
  "rgb": {
    "r": 126,
    "g": 111,
    "b": 242
  },
  "hsl": {
    "h": 246.87,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.62144,
    "c": 0.18946,
    "h": 284.6
  },
  "luminance": 0.22215
}

Semantic roles & 50–950 ramp

primary
#7E6FF2
secondary
#EDF1CB
accent
#E006C7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #7E6FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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