#7C66EA#7C66EA

#7C66EA is a mid, vivid violet. Relative luminance 0.197; OKLCH L 59.9% C 0.191 H 286.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7C66EA
RGBrgb(124, 102, 234)
HSLhsl(250, 76%, 66%)
HSVhsv(250, 56%, 92%)
CMYKcmyk(47%, 56.4%, 0%, 8.2%)
CIE-LABlab(51.53, 41.27, -64.17)
CIE-LCHlch(51.53, 76.29, 302.75°)
OKLaboklab(59.92% 0.0552 -0.1832)
OKLCHoklch(59.92% 0.191 286.8)
XYZxyz(27.9105, 19.7271, 80.1630)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C66EA #D4EA66
analogous
#6692EA #7C66EA #BE66EA
triadic
#7C66EA #EA7C66 #66EA7C
tetradic
#7C66EA #EA6692 #D4EA66 #66EABE
square
#7C66EA #EA6692 #D4EA66 #66EABE
split-complementary
#7C66EA #EABE66 #92EA66
monochromatic
#351ABC #4E30E3 #7C66EA #AA9CF1 #D8D2F9

Accessibility & contrast

On white

4.25
#7C66EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#7C66EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C66EA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C66EA#FFFFFF#000000##000000
##7C66EA1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#077EEE
Deuteranopia (green-blind)
#0377E7
Tritanopia (blue-blind)
#57849E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7c66ea;
/* rgb */ color: rgb(124, 102, 234);
/* oklch */ color: oklch(59.9% 0.191 286.8);
Tailwind
colors: {
  custom: {
    50: '#a992f1',
    500: '#7c66ea',
    950: '#000000',
  },
}
SCSS
$custom: #7c66ea;
$custom-light: #a992f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c66ea",
  "rgb": {
    "r": 124,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 250,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.5992,
    "c": 0.19134,
    "h": 286.8
  },
  "luminance": 0.19728
}

Semantic roles & 50–950 ramp

primary
#7C66EA
secondary
#E4ECC0
accent
#D80DB6
background
#FAF9FE
surface
#F5F1FD
border
#CFCBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7C66EA

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

Preview Lab → · Contrast checker → · Palette generator →

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