#7E65EA#7E65EA

#7E65EA is a mid, vivid violet. Relative luminance 0.197; OKLCH L 59.9% C 0.193 H 287.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7E65EA
RGBrgb(126, 101, 234)
HSLhsl(251, 76%, 66%)
HSVhsv(251, 57%, 92%)
CMYKcmyk(46.2%, 56.8%, 0%, 8.2%)
CIE-LABlab(51.48, 42.26, -64.24)
CIE-LCHlch(51.48, 76.90, 303.34°)
OKLaboklab(59.92% 0.0588 -0.1834)
OKLCHoklch(59.92% 0.193 287.8)
XYZxyz(28.1049, 19.6823, 80.1442)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E65EA #D1EA65
analogous
#658EEA #7E65EA #C065EA
triadic
#7E65EA #EA7E65 #65EA7E
tetradic
#7E65EA #EA658E #D1EA65 #65EAC0
square
#7E65EA #EA658E #D1EA65 #65EAC0
split-complementary
#7E65EA #EAC065 #8EEA65
monochromatic
#381ABB #512FE3 #7E65EA #AB9BF1 #D8D1F9

Accessibility & contrast

On white

4.25
#7E65EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#7E65EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E65EA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E65EA#FFFFFF#000000##000000
##7E65EA1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#017EEE
Deuteranopia (green-blind)
#0477E7
Tritanopia (blue-blind)
#5B839E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7e65ea;
/* rgb */ color: rgb(126, 101, 234);
/* oklch */ color: oklch(59.9% 0.193 287.8);
Tailwind
colors: {
  custom: {
    50: '#aa92f1',
    500: '#7e65ea',
    950: '#000000',
  },
}
SCSS
$custom: #7e65ea;
$custom-light: #aa92f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e65ea",
  "rgb": {
    "r": 126,
    "g": 101,
    "b": 234
  },
  "hsl": {
    "h": 251.278,
    "s": 76,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59924,
    "c": 0.19257,
    "h": 287.8
  },
  "luminance": 0.19683
}

Semantic roles & 50–950 ramp

primary
#7E65EA
secondary
#E3ECBF
accent
#D80DB2
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E65EA

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

Preview Lab → · Contrast checker → · Palette generator →

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