#7E66FC#7E66FC

#7E66FC is a mid, highly saturated blue. Relative luminance 0.210; OKLCH L 61.4% C 0.214 H 285.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7E66FC
RGBrgb(126, 102, 252)
HSLhsl(250, 96%, 69%)
HSVhsv(250, 60%, 99%)
CMYKcmyk(50%, 59.5%, 0%, 1.2%)
CIE-LABlab(52.91, 46.85, -71.96)
CIE-LCHlch(52.91, 85.87, 303.07°)
OKLaboklab(61.36% 0.0573 -0.2061)
OKLCHoklch(61.36% 0.214 285.5)
XYZxyz(30.9210, 20.9651, 94.4940)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E66FC #E4FC66
analogous
#6699FC #7E66FC #C966FC
triadic
#7E66FC #FC7E66 #66FC7E
tetradic
#7E66FC #FC6699 #E4FC66 #66FCC9
square
#7E66FC #FC6699 #E4FC66 #66FCC9
split-complementary
#7E66FC #FCC966 #99FC66
monochromatic
#2804E3 #4B2AFB #7E66FC #B1A2FD #E3DEFE

Accessibility & contrast

On white

4.04
#7E66FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#7E66FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E66FC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E66FC#FFFFFF#000000##000000
##7E66FC1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#007AF9
Tritanopia (blue-blind)
#4F89A7
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7e66fc;
/* rgb */ color: rgb(126, 102, 252);
/* oklch */ color: oklch(61.4% 0.214 285.5);
Tailwind
colors: {
  custom: {
    50: '#ac92fe',
    500: '#7e66fc',
    950: '#000000',
  },
}
SCSS
$custom: #7e66fc;
$custom-light: #ac92fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7e66fc",
  "rgb": {
    "r": 126,
    "g": 102,
    "b": 252
  },
  "hsl": {
    "h": 249.6,
    "s": 96.154,
    "l": 69.412
  },
  "oklch": {
    "l": 0.61364,
    "c": 0.21387,
    "h": 285.5
  },
  "luminance": 0.20967
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E66FC

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

Preview Lab → · Contrast checker → · Palette generator →

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