#7C66EF#7C66EF

#7C66EF is a mid, vivid blue. Relative luminance 0.200; OKLCH L 60.3% C 0.198 H 286.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7C66EF
RGBrgb(124, 102, 239)
HSLhsl(250, 81%, 67%)
HSVhsv(250, 57%, 94%)
CMYKcmyk(48.1%, 57.3%, 0%, 6.3%)
CIE-LABlab(51.86, 42.71, -66.43)
CIE-LCHlch(51.86, 78.98, 302.74°)
OKLaboklab(60.27% 0.0552 -0.1899)
OKLCHoklch(60.27% 0.198 286.2)
XYZxyz(28.6390, 20.0185, 83.9996)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C66EF #D9EF66
analogous
#6695EF #7C66EF #C166EF
triadic
#7C66EF #EF7C66 #66EF7C
tetradic
#7C66EF #EF6695 #D9EF66 #66EFC1
square
#7C66EF #EF6695 #D9EF66 #66EFC1
split-complementary
#7C66EF #EFC166 #95EF66
monochromatic
#3115C6 #4D2FE9 #7C66EF #AB9DF5 #DBD5FB

Accessibility & contrast

On white

4.20
#7C66EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#7C66EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C66EF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C66EF#FFFFFF#000000##000000
##7C66EF1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#5485A1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7c66ef;
/* rgb */ color: rgb(124, 102, 239);
/* oklch */ color: oklch(60.3% 0.198 286.2);
Tailwind
colors: {
  custom: {
    50: '#aa92f5',
    500: '#7c66ef',
    950: '#000000',
  },
}
SCSS
$custom: #7c66ef;
$custom-light: #aa92f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c66ef",
  "rgb": {
    "r": 124,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 249.635,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60269,
    "c": 0.19773,
    "h": 286.2
  },
  "luminance": 0.2002
}

Semantic roles & 50–950 ramp

primary
#7C66EF
secondary
#E7EEC2
accent
#DD08BB
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #7C66EF

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

Preview Lab → · Contrast checker → · Palette generator →

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