#7E65EC#7E65EC

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

Color values

HEX#7E65EC
RGBrgb(126, 101, 236)
HSLhsl(251, 78%, 66%)
HSVhsv(251, 57%, 93%)
CMYKcmyk(46.6%, 57.2%, 0%, 7.5%)
CIE-LABlab(51.61, 42.83, -65.15)
CIE-LCHlch(51.61, 77.97, 303.32°)
OKLaboklab(60.06% 0.0588 -0.186)
OKLCHoklch(60.06% 0.195 287.5)
XYZxyz(28.3938, 19.7979, 81.6659)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E65EC #D3EC65
analogous
#658FEC #7E65EC #C165EC
triadic
#7E65EC #EC7E65 #65EC7E
tetradic
#7E65EC #EC658F #D3EC65 #65ECC1
square
#7E65EC #EC658F #D3EC65 #65ECC1
split-complementary
#7E65EC #ECC165 #8FEC65
monochromatic
#3718BF #502FE5 #7E65EC #AC9BF3 #D9D2F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E65EC#FFFFFF#000000##000000
##7E65EC1.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)
#007EF0
Deuteranopia (green-blind)
#0077E9
Tritanopia (blue-blind)
#5A839F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7e65ec;
/* rgb */ color: rgb(126, 101, 236);
/* oklch */ color: oklch(60.1% 0.195 287.5);
Tailwind
colors: {
  custom: {
    50: '#aa92f3',
    500: '#7e65ec',
    950: '#000000',
  },
}
SCSS
$custom: #7e65ec;
$custom-light: #aa92f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e65ec",
  "rgb": {
    "r": 126,
    "g": 101,
    "b": 236
  },
  "hsl": {
    "h": 251.111,
    "s": 78.035,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60063,
    "c": 0.19511,
    "h": 287.5
  },
  "luminance": 0.19799
}

Semantic roles & 50–950 ramp

primary
#7E65EC
secondary
#E4EDC0
accent
#DA0BB4
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E65EC

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

Preview Lab → · Contrast checker → · Palette generator →

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