#7E65CE#7E65CE

#7E65CE is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.1% C 0.156 H 291.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7E65CE
RGBrgb(126, 101, 206)
HSLhsl(254, 52%, 60%)
HSVhsv(254, 51%, 81%)
CMYKcmyk(38.8%, 51%, 0%, 19.2%)
CIE-LABlab(49.74, 34.41, -51.18)
CIE-LCHlch(49.74, 61.67, 303.91°)
OKLaboklab(58.08% 0.0579 -0.145)
OKLCHoklch(58.08% 0.156 291.8)
XYZxyz(24.3955, 18.1986, 60.6079)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E65CE #B5CE65
analogous
#6580CE #7E65CE #B365CE
triadic
#7E65CE #CE7E65 #65CE7E
tetradic
#7E65CE #CE6580 #B5CE65 #65CEB3
square
#7E65CE #CE6580 #B5CE65 #65CEB3
split-complementary
#7E65CE #CEB365 #80CE65
monochromatic
#432D8C #5A3BBA #7E65CE #A593DD #CCC2EC

Accessibility & contrast

On white

4.53
#7E65CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7E65CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E65CE
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E65CE#FFFFFF#000000##000000
##7E65CE1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A78D2
Deuteranopia (green-blind)
#3E74CC
Tritanopia (blue-blind)
#697A90
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e65ce;
/* rgb */ color: rgb(126, 101, 206);
/* oklch */ color: oklch(58.1% 0.156 291.8);
Tailwind
colors: {
  custom: {
    50: '#a791dd',
    500: '#7e65ce',
    950: '#000000',
  },
}
SCSS
$custom: #7e65ce;
$custom-light: #a791dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e65ce",
  "rgb": {
    "r": 126,
    "g": 101,
    "b": 206
  },
  "hsl": {
    "h": 254.286,
    "s": 51.724,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58076,
    "c": 0.15613,
    "h": 291.8
  },
  "luminance": 0.18199
}

Semantic roles & 50–950 ramp

primary
#7E65CE
secondary
#D2DCB3
accent
#BF269B
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100D15
muted
#7F7D83

Preview Lab

Preview with #7E65CE

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

Preview Lab → · Contrast checker → · Palette generator →

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