#7E65D8#7E65D8

#7E65D8 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.7% C 0.169 H 290.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7E65D8
RGBrgb(126, 101, 216)
HSLhsl(253, 60%, 62%)
HSVhsv(253, 53%, 85%)
CMYKcmyk(41.7%, 53.2%, 0%, 15.3%)
CIE-LABlab(50.33, 37.18, -55.92)
CIE-LCHlch(50.33, 67.15, 303.62°)
OKLaboklab(58.71% 0.0585 -0.1589)
OKLCHoklch(58.71% 0.169 290.2)
XYZxyz(25.6491, 18.7000, 67.2105)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E65D8 #BFD865
analogous
#6586D8 #7E65D8 #B765D8
triadic
#7E65D8 #D87E65 #65D87E
tetradic
#7E65D8 #D86586 #BFD865 #65D8B7
square
#7E65D8 #D86586 #BFD865 #65D8B7
split-complementary
#7E65D8 #D8B765 #86D865
monochromatic
#41279B #5534CC #7E65D8 #A796E4 #D0C7F1

Accessibility & contrast

On white

4.43
#7E65D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#7E65D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E65D8
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E65D8#FFFFFF#000000##000000
##7E65D81.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7ADC
Deuteranopia (green-blind)
#3275D5
Tritanopia (blue-blind)
#657D95
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7e65d8;
/* rgb */ color: rgb(126, 101, 216);
/* oklch */ color: oklch(58.7% 0.169 290.2);
Tailwind
colors: {
  custom: {
    50: '#a891e5',
    500: '#7e65d8',
    950: '#000000',
  },
}
SCSS
$custom: #7e65d8;
$custom-light: #a891e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e65d8",
  "rgb": {
    "r": 126,
    "g": 101,
    "b": 216
  },
  "hsl": {
    "h": 253.043,
    "s": 59.585,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58714,
    "c": 0.16932,
    "h": 290.2
  },
  "luminance": 0.18701
}

Semantic roles & 50–950 ramp

primary
#7E65D8
secondary
#D8E2B7
accent
#C71EA3
background
#FAF9FE
surface
#F4F1FC
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7E65D8

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

Preview Lab → · Contrast checker → · Palette generator →

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