#7C66FE#7C66FE

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

Color values

HEX#7C66FE
RGBrgb(124, 102, 254)
HSLhsl(249, 99%, 70%)
HSVhsv(249, 60%, 100%)
CMYKcmyk(51.2%, 59.8%, 0%, 0.4%)
CIE-LABlab(52.89, 47.06, -73.12)
CIE-LCHlch(52.89, 86.95, 302.77°)
OKLaboklab(61.35% 0.0547 -0.2095)
OKLCHoklch(61.35% 0.217 284.6)
XYZxyz(30.9476, 20.9419, 96.1582)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C66FE #E8FE66
analogous
#669CFE #7C66FE #C866FE
triadic
#7C66FE #FE7C66 #66FE7C
tetradic
#7C66FE #FE669C #E8FE66 #66FEC8
square
#7C66FE #FE669C #E8FE66 #66FEC8
split-complementary
#7C66FE #FEC866 #9CFE66
monochromatic
#2302E8 #4829FE #7C66FE #B0A3FE #E4E0FF

Accessibility & contrast

On white

4.05
#7C66FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C66FE#FFFFFF#000000##000000
##7C66FE1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#0079FB
Tritanopia (blue-blind)
#488AA8
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7c66fe;
/* rgb */ color: rgb(124, 102, 254);
/* oklch */ color: oklch(61.3% 0.217 284.6);
Tailwind
colors: {
  custom: {
    50: '#ab92ff',
    500: '#7c66fe',
    950: '#000000',
  },
}
SCSS
$custom: #7c66fe;
$custom-light: #ab92ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7c66fe",
  "rgb": {
    "r": 124,
    "g": 102,
    "b": 254
  },
  "hsl": {
    "h": 248.684,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.61349,
    "c": 0.21655,
    "h": 284.6
  },
  "luminance": 0.20944
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C66FE

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

Preview Lab → · Contrast checker → · Palette generator →

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