#7E66FD#7E66FD

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

Color values

HEX#7E66FD
RGBrgb(126, 102, 253)
HSLhsl(250, 97%, 70%)
HSVhsv(250, 60%, 99%)
CMYKcmyk(50.2%, 59.7%, 0%, 0.8%)
CIE-LABlab(52.98, 47.14, -72.40)
CIE-LCHlch(52.98, 86.39, 303.07°)
OKLaboklab(61.44% 0.0572 -0.2074)
OKLCHoklch(61.44% 0.215 285.4)
XYZxyz(31.0799, 21.0286, 95.3307)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E66FD #E5FD66
analogous
#669AFD #7E66FD #C966FD
triadic
#7E66FD #FD7E66 #66FD7E
tetradic
#7E66FD #FD669A #E5FD66 #66FDC9
square
#7E66FD #FD669A #E5FD66 #66FDC9
split-complementary
#7E66FD #FDC966 #9AFD66
monochromatic
#2703E6 #4B2AFC #7E66FD #B1A2FE #E4DFFF

Accessibility & contrast

On white

4.03
#7E66FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#7E66FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E66FD
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E66FD#FFFFFF#000000##000000
##7E66FD1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#007AFA
Tritanopia (blue-blind)
#4E8AA8
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7e66fd;
/* rgb */ color: rgb(126, 102, 253);
/* oklch */ color: oklch(61.4% 0.215 285.4);
Tailwind
colors: {
  custom: {
    50: '#ac93ff',
    500: '#7e66fd',
    950: '#000000',
  },
}
SCSS
$custom: #7e66fd;
$custom-light: #ac93ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7e66fd",
  "rgb": {
    "r": 126,
    "g": 102,
    "b": 253
  },
  "hsl": {
    "h": 249.536,
    "s": 97.419,
    "l": 69.608
  },
  "oklch": {
    "l": 0.61437,
    "c": 0.21512,
    "h": 285.4
  },
  "luminance": 0.2103
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E66FD

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

Preview Lab → · Contrast checker → · Palette generator →

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