#7D66EC#7D66EC

#7D66EC is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.1% C 0.194 H 286.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7D66EC
RGBrgb(125, 102, 236)
HSLhsl(250, 78%, 66%)
HSVhsv(250, 57%, 93%)
CMYKcmyk(47%, 56.8%, 0%, 7.5%)
CIE-LABlab(51.74, 42.05, -64.93)
CIE-LCHlch(51.74, 77.36, 302.93°)
OKLaboklab(60.14% 0.0565 -0.1854)
OKLCHoklch(60.14% 0.194 286.9)
XYZxyz(28.3447, 19.9176, 81.6916)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D66EC #D5EC66
analogous
#6692EC #7D66EC #C066EC
triadic
#7D66EC #EC7D66 #66EC7D
tetradic
#7D66EC #EC6692 #D5EC66 #66ECC0
square
#7D66EC #EC6692 #D5EC66 #66ECC0
split-complementary
#7D66EC #ECC066 #92EC66
monochromatic
#3518C0 #4F30E5 #7D66EC #AB9CF3 #DAD3FA

Accessibility & contrast

On white

4.21
#7D66EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#7D66EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D66EC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D66EC#FFFFFF#000000##000000
##7D66EC1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF0
Deuteranopia (green-blind)
#0078E9
Tritanopia (blue-blind)
#58849F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7d66ec;
/* rgb */ color: rgb(125, 102, 236);
/* oklch */ color: oklch(60.1% 0.194 286.9);
Tailwind
colors: {
  custom: {
    50: '#aa92f3',
    500: '#7d66ec',
    950: '#000000',
  },
}
SCSS
$custom: #7d66ec;
$custom-light: #aa92f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d66ec",
  "rgb": {
    "r": 125,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 250.299,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60142,
    "c": 0.19383,
    "h": 286.9
  },
  "luminance": 0.19919
}

Semantic roles & 50–950 ramp

primary
#7D66EC
secondary
#E5EDC1
accent
#DA0BB7
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #7D66EC

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

Preview Lab → · Contrast checker → · Palette generator →

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