#7E6FFB#7E6FFB

#7E6FFB is a light, highly saturated blue. Relative luminance 0.228; OKLCH L 62.8% C 0.201 H 283.8°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7E6FFB
RGBrgb(126, 111, 251)
HSLhsl(246, 95%, 71%)
HSVhsv(246, 56%, 98%)
CMYKcmyk(49.8%, 55.8%, 0%, 1.6%)
CIE-LABlab(54.83, 41.42, -68.29)
CIE-LCHlch(54.83, 79.87, 301.24°)
OKLaboklab(62.76% 0.0481 -0.1952)
OKLCHoklch(62.76% 0.201 283.8)
XYZxyz(31.6960, 22.7679, 93.9726)
Luminance0.2277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6FFB #ECFB6F
analogous
#6FA6FB #7E6FFB #C46FFB
triadic
#7E6FFB #FB7E6F #6FFB7E
tetradic
#7E6FFB #FB6FA6 #ECFB6F #6FFBC4
square
#7E6FFB #FB6FA6 #ECFB6F #6FFBC4
split-complementary
#7E6FFB #FBC46F #A6FB6F
monochromatic
#1F06E9 #4933F9 #7E6FFB #B3ABFD #E4E1FE

Accessibility & contrast

On white

3.78
#7E6FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#7E6FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6FFB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6FFB#FFFFFF#000000##000000
##7E6FFB1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0588FF
Deuteranopia (green-blind)
#007FF8
Tritanopia (blue-blind)
#4F8FAA
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7e6ffb;
/* rgb */ color: rgb(126, 111, 251);
/* oklch */ color: oklch(62.8% 0.201 283.8);
Tailwind
colors: {
  custom: {
    50: '#ac99fd',
    500: '#7e6ffb',
    950: '#000000',
  },
}
SCSS
$custom: #7e6ffb;
$custom-light: #ac99fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6ffb",
  "rgb": {
    "r": 126,
    "g": 111,
    "b": 251
  },
  "hsl": {
    "h": 246.429,
    "s": 94.595,
    "l": 70.98
  },
  "oklch": {
    "l": 0.62758,
    "c": 0.20108,
    "h": 283.8
  },
  "luminance": 0.2277
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E6FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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