#7D66FE#7D66FE

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

Color values

HEX#7D66FE
RGBrgb(125, 102, 254)
HSLhsl(249, 99%, 70%)
HSVhsv(249, 60%, 100%)
CMYKcmyk(50.8%, 59.8%, 0%, 0.4%)
CIE-LABlab(52.97, 47.24, -72.98)
CIE-LCHlch(52.97, 86.93, 302.92°)
OKLaboklab(61.43% 0.056 -0.2091)
OKLCHoklch(61.43% 0.216 285)
XYZxyz(31.0929, 21.0169, 96.1650)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D66FE #E7FE66
analogous
#669BFE #7D66FE #C966FE
triadic
#7D66FE #FE7D66 #66FE7D
tetradic
#7D66FE #FE669B #E7FE66 #66FEC9
square
#7D66FE #FE669B #E7FE66 #66FEC9
split-complementary
#7D66FE #FEC966 #9BFE66
monochromatic
#2402E8 #4929FE #7D66FE #B1A3FE #E4E0FF

Accessibility & contrast

On white

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

On black

5.20
#7D66FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D66FE
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D66FE#FFFFFF#000000##000000
##7D66FE1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d66fe;
/* rgb */ color: rgb(125, 102, 254);
/* oklch */ color: oklch(61.4% 0.216 285.0);
Tailwind
colors: {
  custom: {
    50: '#ac92ff',
    500: '#7d66fe',
    950: '#000000',
  },
}
SCSS
$custom: #7d66fe;
$custom-light: #ac92ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7d66fe",
  "rgb": {
    "r": 125,
    "g": 102,
    "b": 254
  },
  "hsl": {
    "h": 249.079,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.6143,
    "c": 0.21645,
    "h": 285
  },
  "luminance": 0.21018
}

Semantic roles & 50–950 ramp

primary
#7D66FE
secondary
#EFF5CA
accent
#E600C3
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7D66FE

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

Preview Lab → · Contrast checker → · Palette generator →

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