#7C66F8#7C66F8

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

Color values

HEX#7C66F8
RGBrgb(124, 102, 248)
HSLhsl(249, 91%, 69%)
HSVhsv(249, 59%, 97%)
CMYKcmyk(50%, 58.9%, 0%, 2.7%)
CIE-LABlab(52.47, 45.32, -70.46)
CIE-LCHlch(52.47, 83.78, 302.75°)
OKLaboklab(60.91% 0.055 -0.2017)
OKLCHoklch(60.91% 0.209 285.2)
XYZxyz(30.0018, 20.5636, 91.1771)
Luminance0.2056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C66F8 #E2F866
analogous
#6699F8 #7C66F8 #C566F8
triadic
#7C66F8 #F87C66 #66F87C
tetradic
#7C66F8 #F86699 #E2F866 #66F8C5
square
#7C66F8 #F86699 #E2F866 #66F8C5
split-complementary
#7C66F8 #F8C566 #99F866
monochromatic
#290ADA #4A2BF5 #7C66F8 #AEA1FB #E0DBFD

Accessibility & contrast

On white

4.11
#7C66F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#7C66F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C66F8
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C66F8#FFFFFF#000000##000000
##7C66F81.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FD
Deuteranopia (green-blind)
#0079F5
Tritanopia (blue-blind)
#4D88A5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7c66f8;
/* rgb */ color: rgb(124, 102, 248);
/* oklch */ color: oklch(60.9% 0.209 285.2);
Tailwind
colors: {
  custom: {
    50: '#ab92fb',
    500: '#7c66f8',
    950: '#000000',
  },
}
SCSS
$custom: #7c66f8;
$custom-light: #ab92fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c66f8",
  "rgb": {
    "r": 124,
    "g": 102,
    "b": 248
  },
  "hsl": {
    "h": 249.041,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.60911,
    "c": 0.20907,
    "h": 285.2
  },
  "luminance": 0.20565
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C66F8

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

Preview Lab → · Contrast checker → · Palette generator →

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