#7D66EA#7D66EA

#7D66EA is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.0% C 0.191 H 287.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7D66EA
RGBrgb(125, 102, 234)
HSLhsl(250, 76%, 66%)
HSVhsv(250, 56%, 92%)
CMYKcmyk(46.6%, 56.4%, 0%, 8.2%)
CIE-LABlab(51.61, 41.48, -64.02)
CIE-LCHlch(51.61, 76.29, 302.94°)
OKLaboklab(60% 0.0565 -0.1828)
OKLCHoklch(60% 0.191 287.2)
XYZxyz(28.0558, 19.8020, 80.1698)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D66EA #D3EA66
analogous
#6691EA #7D66EA #BF66EA
triadic
#7D66EA #EA7D66 #66EA7D
tetradic
#7D66EA #EA6691 #D3EA66 #66EABF
square
#7D66EA #EA6691 #D3EA66 #66EABF
split-complementary
#7D66EA #EABF66 #91EA66
monochromatic
#361ABC #4F30E3 #7D66EA #AB9CF1 #D8D2F9

Accessibility & contrast

On white

4.23
#7D66EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#7D66EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D66EA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D66EA#FFFFFF#000000##000000
##7D66EA1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#087EEE
Deuteranopia (green-blind)
#0777E7
Tritanopia (blue-blind)
#59849E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7d66ea;
/* rgb */ color: rgb(125, 102, 234);
/* oklch */ color: oklch(60.0% 0.191 287.2);
Tailwind
colors: {
  custom: {
    50: '#aa92f1',
    500: '#7d66ea',
    950: '#000000',
  },
}
SCSS
$custom: #7d66ea;
$custom-light: #aa92f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d66ea",
  "rgb": {
    "r": 125,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 250.455,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60004,
    "c": 0.19128,
    "h": 287.2
  },
  "luminance": 0.19803
}

Semantic roles & 50–950 ramp

primary
#7D66EA
secondary
#E4ECC0
accent
#D80DB5
background
#FAF9FE
surface
#F5F1FD
border
#CFCBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #7D66EA

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

Preview Lab → · Contrast checker → · Palette generator →

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