#7D66FC#7D66FC

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

Color values

HEX#7D66FC
RGBrgb(125, 102, 252)
HSLhsl(249, 96%, 69%)
HSVhsv(249, 60%, 99%)
CMYKcmyk(50.4%, 59.5%, 0%, 1.2%)
CIE-LABlab(52.83, 46.66, -72.10)
CIE-LCHlch(52.83, 85.88, 302.91°)
OKLaboklab(61.28% 0.056 -0.2065)
OKLCHoklch(61.28% 0.214 285.2)
XYZxyz(30.7743, 20.8894, 94.4871)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D66FC #E5FC66
analogous
#669AFC #7D66FC #C866FC
triadic
#7D66FC #FC7D66 #66FC7D
tetradic
#7D66FC #FC669A #E5FC66 #66FCC8
square
#7D66FC #FC669A #E5FC66 #66FCC8
split-complementary
#7D66FC #FCC866 #9AFC66
monochromatic
#2704E3 #4A2AFB #7D66FC #B0A2FD #E3DEFE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D66FC#FFFFFF#000000##000000
##7D66FC1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d66fc;
/* rgb */ color: rgb(125, 102, 252);
/* oklch */ color: oklch(61.3% 0.214 285.2);
Tailwind
colors: {
  custom: {
    50: '#ac92fe',
    500: '#7d66fc',
    950: '#000000',
  },
}
SCSS
$custom: #7d66fc;
$custom-light: #ac92fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7d66fc",
  "rgb": {
    "r": 125,
    "g": 102,
    "b": 252
  },
  "hsl": {
    "h": 249.2,
    "s": 96.154,
    "l": 69.412
  },
  "oklch": {
    "l": 0.61283,
    "c": 0.21397,
    "h": 285.2
  },
  "luminance": 0.20891
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D66FC

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

Preview Lab → · Contrast checker → · Palette generator →

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