#7E65EF#7E65EF

#7E65EF is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.3% C 0.199 H 287.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7E65EF
RGBrgb(126, 101, 239)
HSLhsl(251, 81%, 67%)
HSVhsv(251, 58%, 94%)
CMYKcmyk(47.3%, 57.7%, 0%, 6.3%)
CIE-LABlab(51.81, 43.69, -66.51)
CIE-LCHlch(51.81, 79.57, 303.30°)
OKLaboklab(60.27% 0.0587 -0.19)
OKLCHoklch(60.27% 0.199 287.2)
XYZxyz(28.8333, 19.9737, 83.9807)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E65EF #D6EF65
analogous
#6591EF #7E65EF #C365EF
triadic
#7E65EF #EF7E65 #65EF7E
tetradic
#7E65EF #EF6591 #D6EF65 #65EFC3
square
#7E65EF #EF6591 #D6EF65 #65EFC3
split-complementary
#7E65EF #EFC365 #91EF65
monochromatic
#3414C5 #502EE9 #7E65EF #AC9CF5 #DBD4FB

Accessibility & contrast

On white

4.20
#7E65EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#7E65EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E65EF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E65EF#FFFFFF#000000##000000
##7E65EF1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#5884A0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7e65ef;
/* rgb */ color: rgb(126, 101, 239);
/* oklch */ color: oklch(60.3% 0.199 287.2);
Tailwind
colors: {
  custom: {
    50: '#ab92f5',
    500: '#7e65ef',
    950: '#000000',
  },
}
SCSS
$custom: #7e65ef;
$custom-light: #ab92f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e65ef",
  "rgb": {
    "r": 126,
    "g": 101,
    "b": 239
  },
  "hsl": {
    "h": 250.87,
    "s": 81.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60273,
    "c": 0.1989,
    "h": 287.2
  },
  "luminance": 0.19975
}

Semantic roles & 50–950 ramp

primary
#7E65EF
secondary
#E6EEC2
accent
#DE08B7
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E65EF

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

Preview Lab → · Contrast checker → · Palette generator →

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