#7E66FA#7E66FA

#7E66FA is a mid, highly saturated blue. Relative luminance 0.208; OKLCH L 61.2% C 0.211 H 285.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7E66FA
RGBrgb(126, 102, 250)
HSLhsl(250, 94%, 69%)
HSVhsv(250, 59%, 98%)
CMYKcmyk(49.6%, 59.2%, 0%, 2%)
CIE-LABlab(52.77, 46.27, -71.07)
CIE-LCHlch(52.77, 84.81, 303.07°)
OKLaboklab(61.22% 0.0574 -0.2035)
OKLCHoklch(61.22% 0.211 285.7)
XYZxyz(30.6058, 20.8390, 92.8336)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E66FA #E2FA66
analogous
#6698FA #7E66FA #C866FA
triadic
#7E66FA #FA7E66 #66FA7E
tetradic
#7E66FA #FA6698 #E2FA66 #66FAC8
square
#7E66FA #FA6698 #E2FA66 #66FAC8
split-complementary
#7E66FA #FAC866 #98FA66
monochromatic
#2A07DE #4C2BF8 #7E66FA #B0A1FC #E2DDFE

Accessibility & contrast

On white

4.06
#7E66FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#7E66FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E66FA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E66FA#FFFFFF#000000##000000
##7E66FA1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e66fa;
/* rgb */ color: rgb(126, 102, 250);
/* oklch */ color: oklch(61.2% 0.211 285.7);
Tailwind
colors: {
  custom: {
    50: '#ac92fd',
    500: '#7e66fa',
    950: '#000000',
  },
}
SCSS
$custom: #7e66fa;
$custom-light: #ac92fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e66fa",
  "rgb": {
    "r": 126,
    "g": 102,
    "b": 250
  },
  "hsl": {
    "h": 249.73,
    "s": 93.671,
    "l": 69.02
  },
  "oklch": {
    "l": 0.61219,
    "c": 0.21139,
    "h": 285.7
  },
  "luminance": 0.2084
}

Semantic roles & 50–950 ramp

primary
#7E66FA
secondary
#EDF4C8
accent
#E600C0
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7E66FA

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

Preview Lab → · Contrast checker → · Palette generator →

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