#7E66FB#7E66FB

#7E66FB is a mid, highly saturated blue. Relative luminance 0.209; OKLCH L 61.3% C 0.213 H 285.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7E66FB
RGBrgb(126, 102, 251)
HSLhsl(250, 95%, 69%)
HSVhsv(250, 59%, 98%)
CMYKcmyk(49.8%, 59.4%, 0%, 1.6%)
CIE-LABlab(52.84, 46.56, -71.52)
CIE-LCHlch(52.84, 85.34, 303.07°)
OKLaboklab(61.29% 0.0573 -0.2048)
OKLCHoklch(61.29% 0.213 285.6)
XYZxyz(30.7630, 20.9019, 93.6616)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E66FB #E3FB66
analogous
#6699FB #7E66FB #C866FB
triadic
#7E66FB #FB7E66 #66FB7E
tetradic
#7E66FB #FB6699 #E3FB66 #66FBC8
square
#7E66FB #FB6699 #E3FB66 #66FBC8
split-complementary
#7E66FB #FBC866 #99FB66
monochromatic
#2906E1 #4C2AF9 #7E66FB #B0A2FD #E3DDFE

Accessibility & contrast

On white

4.05
#7E66FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#7E66FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E66FB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E66FB#FFFFFF#000000##000000
##7E66FB1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#007AF8
Tritanopia (blue-blind)
#5089A7
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7e66fb;
/* rgb */ color: rgb(126, 102, 251);
/* oklch */ color: oklch(61.3% 0.213 285.6);
Tailwind
colors: {
  custom: {
    50: '#ac92fe',
    500: '#7e66fb',
    950: '#000000',
  },
}
SCSS
$custom: #7e66fb;
$custom-light: #ac92fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7e66fb",
  "rgb": {
    "r": 126,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 249.664,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.61292,
    "c": 0.21263,
    "h": 285.6
  },
  "luminance": 0.20903
}

Semantic roles & 50–950 ramp

primary
#7E66FB
secondary
#EDF4C9
accent
#E600C1
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7E66FB

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

Preview Lab → · Contrast checker → · Palette generator →

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