#7C66FA#7C66FA

#7C66FA is a mid, highly saturated blue. Relative luminance 0.207; OKLCH L 61.1% C 0.212 H 285.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7C66FA
RGBrgb(124, 102, 250)
HSLhsl(249, 94%, 69%)
HSVhsv(249, 59%, 98%)
CMYKcmyk(50.4%, 59.2%, 0%, 2%)
CIE-LABlab(52.61, 45.90, -71.35)
CIE-LCHlch(52.61, 84.84, 302.75°)
OKLaboklab(61.06% 0.0549 -0.2043)
OKLCHoklch(61.06% 0.212 285)
XYZxyz(30.3137, 20.6884, 92.8199)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C66FA #E4FA66
analogous
#669AFA #7C66FA #C666FA
triadic
#7C66FA #FA7C66 #66FA7C
tetradic
#7C66FA #FA669A #E4FA66 #66FAC6
square
#7C66FA #FA669A #E4FA66 #66FAC6
split-complementary
#7C66FA #FAC666 #9AFA66
monochromatic
#2707DE #492BF8 #7C66FA #AFA1FC #E1DDFE

Accessibility & contrast

On white

4.09
#7C66FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#7C66FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C66FA
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C66FA#FFFFFF#000000##000000
##7C66FA1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#0079F7
Tritanopia (blue-blind)
#4C89A6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7c66fa;
/* rgb */ color: rgb(124, 102, 250);
/* oklch */ color: oklch(61.1% 0.212 285.0);
Tailwind
colors: {
  custom: {
    50: '#ab92fd',
    500: '#7c66fa',
    950: '#000000',
  },
}
SCSS
$custom: #7c66fa;
$custom-light: #ab92fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c66fa",
  "rgb": {
    "r": 124,
    "g": 102,
    "b": 250
  },
  "hsl": {
    "h": 248.919,
    "s": 93.671,
    "l": 69.02
  },
  "oklch": {
    "l": 0.61057,
    "c": 0.21157,
    "h": 285
  },
  "luminance": 0.2069
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C66FA

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

Preview Lab → · Contrast checker → · Palette generator →

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