#7E65EB#7E65EB

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

Color values

HEX#7E65EB
RGBrgb(126, 101, 235)
HSLhsl(251, 77%, 66%)
HSVhsv(251, 57%, 92%)
CMYKcmyk(46.4%, 57%, 0%, 7.8%)
CIE-LABlab(51.54, 42.55, -64.70)
CIE-LCHlch(51.54, 77.43, 303.33°)
OKLaboklab(59.99% 0.0588 -0.1847)
OKLCHoklch(59.99% 0.194 287.7)
XYZxyz(28.2489, 19.7400, 80.9029)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E65EB #D2EB65
analogous
#658FEB #7E65EB #C165EB
triadic
#7E65EB #EB7E65 #65EB7E
tetradic
#7E65EB #EB658F #D2EB65 #65EBC1
square
#7E65EB #EB658F #D2EB65 #65EBC1
split-complementary
#7E65EB #EBC165 #8FEB65
monochromatic
#3719BD #512FE4 #7E65EB #AB9BF2 #D9D1F9

Accessibility & contrast

On white

4.24
#7E65EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E65EB#FFFFFF#000000##000000
##7E65EB1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EEF
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#5B839E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7e65eb;
/* rgb */ color: rgb(126, 101, 235);
/* oklch */ color: oklch(60.0% 0.194 287.7);
Tailwind
colors: {
  custom: {
    50: '#aa92f2',
    500: '#7e65eb',
    950: '#000000',
  },
}
SCSS
$custom: #7e65eb;
$custom-light: #aa92f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e65eb",
  "rgb": {
    "r": 126,
    "g": 101,
    "b": 235
  },
  "hsl": {
    "h": 251.194,
    "s": 77.011,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59993,
    "c": 0.19383,
    "h": 287.7
  },
  "luminance": 0.19741
}

Semantic roles & 50–950 ramp

primary
#7E65EB
secondary
#E4ECC0
accent
#D90CB3
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E65EB

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

Preview Lab → · Contrast checker → · Palette generator →

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