#7E65DB#7E65DB

#7E65DB is a mid, vivid violet. Relative luminance 0.189; OKLCH L 58.9% C 0.173 H 289.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7E65DB
RGBrgb(126, 101, 219)
HSLhsl(253, 62%, 63%)
HSVhsv(253, 54%, 86%)
CMYKcmyk(42.5%, 53.9%, 0%, 14.1%)
CIE-LABlab(50.52, 38.02, -57.33)
CIE-LCHlch(50.52, 68.79, 303.56°)
OKLaboklab(58.91% 0.0586 -0.163)
OKLCHoklch(58.91% 0.173 289.8)
XYZxyz(26.0405, 18.8566, 69.2717)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E65DB #C2DB65
analogous
#6587DB #7E65DB #B965DB
triadic
#7E65DB #DB7E65 #65DB7E
tetradic
#7E65DB #DB6587 #C2DB65 #65DBB9
square
#7E65DB #DB6587 #C2DB65 #65DBB9
split-complementary
#7E65DB #DBB965 #87DB65
monochromatic
#3F25A0 #5433CF #7E65DB #A897E7 #D1C8F2

Accessibility & contrast

On white

4.40
#7E65DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#7E65DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E65DB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E65DB#FFFFFF#000000##000000
##7E65DB1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7BDF
Deuteranopia (green-blind)
#2E76D8
Tritanopia (blue-blind)
#637E96
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7e65db;
/* rgb */ color: rgb(126, 101, 219);
/* oklch */ color: oklch(58.9% 0.173 289.8);
Tailwind
colors: {
  custom: {
    50: '#a991e7',
    500: '#7e65db',
    950: '#000000',
  },
}
SCSS
$custom: #7e65db;
$custom-light: #a991e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e65db",
  "rgb": {
    "r": 126,
    "g": 101,
    "b": 219
  },
  "hsl": {
    "h": 252.712,
    "s": 62.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.5891,
    "c": 0.17324,
    "h": 289.8
  },
  "luminance": 0.18857
}

Semantic roles & 50–950 ramp

primary
#7E65DB
secondary
#DAE3B9
accent
#CA1CA5
background
#FAF9FE
surface
#F4F1FC
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7E65DB

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

Preview Lab → · Contrast checker → · Palette generator →

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