#7C66FD#7C66FD

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

Color values

HEX#7C66FD
RGBrgb(124, 102, 253)
HSLhsl(249, 97%, 70%)
HSVhsv(249, 60%, 99%)
CMYKcmyk(51%, 59.7%, 0%, 0.8%)
CIE-LABlab(52.82, 46.77, -72.67)
CIE-LCHlch(52.82, 86.42, 302.76°)
OKLaboklab(61.28% 0.0548 -0.2082)
OKLCHoklch(61.28% 0.215 284.7)
XYZxyz(30.7879, 20.8781, 95.3170)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C66FD #E7FD66
analogous
#669BFD #7C66FD #C866FD
triadic
#7C66FD #FD7C66 #66FD7C
tetradic
#7C66FD #FD669B #E7FD66 #66FDC8
square
#7C66FD #FD669B #E7FD66 #66FDC8
split-complementary
#7C66FD #FDC866 #9BFD66
monochromatic
#2403E6 #482AFC #7C66FD #B0A2FE #E3DFFF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C66FD#FFFFFF#000000##000000
##7C66FD1.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)
#0079FA
Tritanopia (blue-blind)
#498AA8
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7c66fd;
/* rgb */ color: rgb(124, 102, 253);
/* oklch */ color: oklch(61.3% 0.215 284.7);
Tailwind
colors: {
  custom: {
    50: '#ab92ff',
    500: '#7c66fd',
    950: '#000000',
  },
}
SCSS
$custom: #7c66fd;
$custom-light: #ab92ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7c66fd",
  "rgb": {
    "r": 124,
    "g": 102,
    "b": 253
  },
  "hsl": {
    "h": 248.742,
    "s": 97.419,
    "l": 69.608
  },
  "oklch": {
    "l": 0.61276,
    "c": 0.21531,
    "h": 284.7
  },
  "luminance": 0.2088
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C66FD

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

Preview Lab → · Contrast checker → · Palette generator →

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