#7E66EF#7E66EF

#7E66EF is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.4% C 0.198 H 287.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7E66EF
RGBrgb(126, 102, 239)
HSLhsl(251, 81%, 67%)
HSVhsv(251, 57%, 94%)
CMYKcmyk(47.3%, 57.3%, 0%, 6.3%)
CIE-LABlab(52.03, 43.12, -66.15)
CIE-LCHlch(52.03, 78.96, 303.10°)
OKLaboklab(60.44% 0.0577 -0.189)
OKLCHoklch(60.44% 0.198 287)
XYZxyz(28.9310, 20.1691, 84.0132)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E66EF #D7EF66
analogous
#6693EF #7E66EF #C366EF
triadic
#7E66EF #EF7E66 #66EF7E
tetradic
#7E66EF #EF6693 #D7EF66 #66EFC3
square
#7E66EF #EF6693 #D7EF66 #66EFC3
split-complementary
#7E66EF #EFC366 #93EF66
monochromatic
#3415C6 #4F2FE9 #7E66EF #AD9DF5 #DBD5FB

Accessibility & contrast

On white

4.17
#7E66EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#7E66EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E66EF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E66EF#FFFFFF#000000##000000
##7E66EF1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e66ef;
/* rgb */ color: rgb(126, 102, 239);
/* oklch */ color: oklch(60.4% 0.198 287.0);
Tailwind
colors: {
  custom: {
    50: '#ab92f5',
    500: '#7e66ef',
    950: '#000000',
  },
}
SCSS
$custom: #7e66ef;
$custom-light: #ab92f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e66ef",
  "rgb": {
    "r": 126,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 250.511,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60436,
    "c": 0.19758,
    "h": 287
  },
  "luminance": 0.2017
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E66EF

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

Preview Lab → · Contrast checker → · Palette generator →

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