#7C66FB#7C66FB

#7C66FB is a mid, highly saturated blue. Relative luminance 0.208; OKLCH L 61.1% C 0.213 H 284.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7C66FB
RGBrgb(124, 102, 251)
HSLhsl(249, 95%, 69%)
HSVhsv(249, 59%, 98%)
CMYKcmyk(50.6%, 59.4%, 0%, 1.6%)
CIE-LABlab(52.68, 46.19, -71.79)
CIE-LCHlch(52.68, 85.37, 302.75°)
OKLaboklab(61.13% 0.0548 -0.2056)
OKLCHoklch(61.13% 0.213 284.9)
XYZxyz(30.4709, 20.7513, 93.6479)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C66FB #E5FB66
analogous
#669BFB #7C66FB #C766FB
triadic
#7C66FB #FB7C66 #66FB7C
tetradic
#7C66FB #FB669B #E5FB66 #66FBC7
square
#7C66FB #FB669B #E5FB66 #66FBC7
split-complementary
#7C66FB #FBC766 #9BFB66
monochromatic
#2606E1 #492AF9 #7C66FB #AFA2FD #E2DDFE

Accessibility & contrast

On white

4.08
#7C66FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#7C66FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C66FB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C66FB#FFFFFF#000000##000000
##7C66FB1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c66fb;
/* rgb */ color: rgb(124, 102, 251);
/* oklch */ color: oklch(61.1% 0.213 284.9);
Tailwind
colors: {
  custom: {
    50: '#ab92fe',
    500: '#7c66fb',
    950: '#000000',
  },
}
SCSS
$custom: #7c66fb;
$custom-light: #ab92fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7c66fb",
  "rgb": {
    "r": 124,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 248.859,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.61129,
    "c": 0.21282,
    "h": 284.9
  },
  "luminance": 0.20753
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C66FB

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

Preview Lab → · Contrast checker → · Palette generator →

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